projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
diff --git
a/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp
b/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp
index
61ca9ec
..
b5b899b
100644
(file)
--- 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;
}