X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_exp.cpp;h=154e1663db44f4069c0e2ad70407c528c1a3e6d1;hb=2b2950e88fb6c4bfa36ec91eb86de33c6c27fafe;hp=7b96298a06fb49be14b35c5ac7027b422e4379b3;hpb=d4cb326591ea23f82d341eb368b3d183b46f56c7;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_exp.cpp b/synfig-core/src/synfig/valuenode_exp.cpp index 7b96298..154e166 100644 --- a/synfig-core/src/synfig/valuenode_exp.cpp +++ b/synfig-core/src/synfig/valuenode_exp.cpp @@ -53,6 +53,8 @@ using namespace synfig; ValueNode_Exp::ValueNode_Exp(const ValueBase &value): LinkableValueNode(value.get_type()) { + Vocab ret(get_children_vocab()); + set_children_vocab(ret); switch(value.get_type()) { case ValueBase::TYPE_REAL: @@ -129,47 +131,6 @@ ValueNode_Exp::get_link_vfunc(int i)const return 0; } -int -ValueNode_Exp::link_count()const -{ - return 2; -} - -String -ValueNode_Exp::link_name(int i)const -{ - assert(i>=0 && i=0 && i