X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcwidth.cpp;h=9bd59475c2205e184aec1f3d1f558e1ff4c3b36c;hb=HEAD;hp=4dc989c2652bf549580c0713799ef525491d74eb;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_blinecalcwidth.cpp b/synfig-core/src/synfig/valuenode_blinecalcwidth.cpp index 4dc989c..9bd5947 100644 --- a/synfig-core/src/synfig/valuenode_blinecalcwidth.cpp +++ b/synfig-core/src/synfig/valuenode_blinecalcwidth.cpp @@ -58,6 +58,8 @@ using namespace synfig; ValueNode_BLineCalcWidth::ValueNode_BLineCalcWidth(const ValueBase::Type &x): LinkableValueNode(x) { + Vocab ret(get_children_vocab()); + set_children_vocab(ret); if(x!=ValueBase::TYPE_REAL) throw Exception::BadType(ValueBase::type_local_name(x)); @@ -177,52 +179,6 @@ ValueNode_BLineCalcWidth::get_link_vfunc(int i)const return 0; } -int -ValueNode_BLineCalcWidth::link_count()const -{ - return 4; -} - -String -ValueNode_BLineCalcWidth::link_name(int i)const -{ - assert(i>=0 && i=0 && i