X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_reference.cpp;h=1e1c890f7fb475cbc2b687205b93e5ca4f09dac7;hb=2b2950e88fb6c4bfa36ec91eb86de33c6c27fafe;hp=3de4642c81d126ccdd807221d3b868c42050feb2;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_reference.cpp b/synfig-core/src/synfig/valuenode_reference.cpp index 3de4642..1e1c890 100644 --- a/synfig-core/src/synfig/valuenode_reference.cpp +++ b/synfig-core/src/synfig/valuenode_reference.cpp @@ -58,6 +58,8 @@ ValueNode_Reference::ValueNode_Reference(const ValueBase::Type &x): ValueNode_Reference::ValueNode_Reference(const ValueNode::Handle &x): LinkableValueNode(x->get_type()) { + Vocab ret(get_children_vocab()); + set_children_vocab(ret); set_link("link",x); } @@ -98,45 +100,6 @@ ValueNode_Reference::get_link_vfunc(int i __attribute__ ((unused)))const return link_; } -int -ValueNode_Reference::link_count()const -{ - return 1; -} - -String -ValueNode_Reference::link_local_name(int i)const -{ - assert(i>=0 && i=0 && i