From: dooglus Date: Sat, 5 Jan 2008 23:18:19 +0000 (+0000) Subject: Hide the 'From Integer' convert type for now. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=63c834c068d2ba5b2aa2a827cc8f0c261e4ebeeb;p=synfig.git Hide the 'From Integer' convert type for now. git-svn-id: http://svn.voria.com/code@1270 1f10aa63-cdf2-0310-b900-c93c546f37ac --- 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; }