From: dooglus Date: Sat, 5 Jan 2008 23:02:15 +0000 (+0000) Subject: Don't show 'Duplicate' in the Convert menu. The user doesn't need to see it, since... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c3e45b84cbe115d9a8d216f1ce99d06fdd49ccca;p=synfig.git 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 --- 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; }