projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the order of the modules - magick++ is the last resort, other than the custom...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_composite.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_composite.cpp
b/synfig-core/trunk/src/synfig/valuenode_composite.cpp
index
e10999a
..
8d7428b
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_composite.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_composite.cpp
@@
-364,11
+364,8
@@
ValueNode_Composite::get_link_index_from_name(const String &name)const
if(name.empty())
throw Exception::BadLinkName(name);
if(name.empty())
throw Exception::BadLinkName(name);
- if(name[0]=='c')
- {
- warning("%s:%d is this EVER called?", __FILE__, __LINE__);
+ if(name[0]=='c' && name.size() == 2 && name[1]-'1' >= 0 && name[1]-'1' < link_count())
return name[1]-'1';
return name[1]-'1';
- }
switch(get_type())
{
switch(get_type())
{