X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcwidth.cpp;h=9bd59475c2205e184aec1f3d1f558e1ff4c3b36c;hb=HEAD;hp=d78f99aef105f9123c82dd098481f9a99592e85f;hpb=d4cb326591ea23f82d341eb368b3d183b46f56c7;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_blinecalcwidth.cpp b/synfig-core/src/synfig/valuenode_blinecalcwidth.cpp index d78f99a..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