X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;h=afdf62eb62d1adc2110560193469dd714887ad18;hb=HEAD;hp=23ea7731f072da8c4aec6c6a2dde197c67caa91e;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp b/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp index 23ea773..afdf62e 100644 --- a/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp +++ b/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp @@ -58,6 +58,8 @@ using namespace synfig; ValueNode_BLineCalcVertex::ValueNode_BLineCalcVertex(const ValueBase::Type &x): LinkableValueNode(x) { + Vocab ret(get_children_vocab()); + set_children_vocab(ret); if(x!=ValueBase::TYPE_VECTOR) throw Exception::BadType(ValueBase::type_local_name(x)); @@ -172,49 +174,6 @@ ValueNode_BLineCalcVertex::get_link_vfunc(int i)const return 0; } -int -ValueNode_BLineCalcVertex::link_count()const -{ - return 3; -} - -String -ValueNode_BLineCalcVertex::link_name(int i)const -{ - assert(i>=0 && i=0 && i