X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;h=afdf62eb62d1adc2110560193469dd714887ad18;hb=2b2950e88fb6c4bfa36ec91eb86de33c6c27fafe;hp=73462078973afe54bf9ee6a92f39790d76db2342;hpb=d4cb326591ea23f82d341eb368b3d183b46f56c7;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp b/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp index 7346207..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