Hide the 'From Integer' convert type for now.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 5 Jan 2008 23:18:19 +0000 (23:18 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 5 Jan 2008 23:18:19 +0000 (23:18 +0000)
git-svn-id: http://svn.voria.com/code@1270 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode_integer.cpp

index e0d5057..de6a114 100644 (file)
@@ -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;
 }