From c3e45b84cbe115d9a8d216f1ce99d06fdd49ccca Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 5 Jan 2008 23:02:15 +0000 Subject: [PATCH] Don't show 'Duplicate' in the Convert menu. The user doesn't need to see it, since it's used automatically now. git-svn-id: http://svn.voria.com/code@1269 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_duplicate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp b/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp index 61ca9ec..b5b899b 100644 --- a/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp @@ -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; } -- 2.7.4