Don't show 'Duplicate' in the Convert menu. The user doesn't need to see it, since...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 5 Jan 2008 23:02:15 +0000 (23:02 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 5 Jan 2008 23:02:15 +0000 (23:02 +0000)
git-svn-id: http://svn.voria.com/code@1269 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 61ca9ec..b5b899b 100644 (file)
@@ -208,5 +208,6 @@ ValueNode_Duplicate::get_local_name()const
 bool
 ValueNode_Duplicate::check_type(ValueBase::Type type)
 {
-       return type==ValueBase::TYPE_INTEGER;
+       // never offer this as a choice.  it's used automatically by the 'Duplicate' layer.
+       return false;
 }