X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_segcalcvertex.cpp;h=419a9957ccb55c24c4127f83b611b765a6cb35cc;hb=2b2950e88fb6c4bfa36ec91eb86de33c6c27fafe;hp=91709079f1d3b385ea66690d764bcb44a33b2bbd;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_segcalcvertex.cpp b/synfig-core/src/synfig/valuenode_segcalcvertex.cpp index 9170907..419a995 100644 --- a/synfig-core/src/synfig/valuenode_segcalcvertex.cpp +++ b/synfig-core/src/synfig/valuenode_segcalcvertex.cpp @@ -57,6 +57,8 @@ using namespace synfig; ValueNode_SegCalcVertex::ValueNode_SegCalcVertex(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)); @@ -133,47 +135,6 @@ ValueNode_SegCalcVertex::get_link_vfunc(int i)const return 0; } -int -ValueNode_SegCalcVertex::link_count()const -{ - return 2; -} - -String -ValueNode_SegCalcVertex::link_name(int i)const -{ - assert(i>=0 && i=0 && i