From 63c834c068d2ba5b2aa2a827cc8f0c261e4ebeeb Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 5 Jan 2008 23:18:19 +0000 Subject: [PATCH] Hide the 'From Integer' convert type for now. git-svn-id: http://svn.voria.com/code@1270 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_integer.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_integer.cpp b/synfig-core/trunk/src/synfig/valuenode_integer.cpp index e0d5057..de6a114 100644 --- a/synfig-core/trunk/src/synfig/valuenode_integer.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_integer.cpp @@ -183,12 +183,14 @@ ValueNode_Integer::get_local_name()const return _("From Integer"); } +// don't show this to the user at the moment - maybe it's not very useful bool ValueNode_Integer::check_type(ValueBase::Type type) { - return - type==ValueBase::TYPE_ANGLE || - type==ValueBase::TYPE_BOOL || - type==ValueBase::TYPE_REAL || - type==ValueBase::TYPE_TIME; + return false; +// return +// type==ValueBase::TYPE_ANGLE || +// type==ValueBase::TYPE_BOOL || +// type==ValueBase::TYPE_REAL || +// type==ValueBase::TYPE_TIME; } -- 2.7.4