Don't show 'Duplicate' in the Convert menu. The user doesn't need to see it, since...
[synfig.git] / 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;
 }