X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;fp=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;h=5f2fde661b7c37296b39fb473cc57b1878eb35a0;hp=73462078973afe54bf9ee6a92f39790d76db2342;hb=dbc88fd05c8d29849d2e6227d23605508eb188ae;hpb=d4cb326591ea23f82d341eb368b3d183b46f56c7 diff --git a/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp b/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp index 7346207..5f2fde6 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)); @@ -224,6 +226,9 @@ ValueNode_BLineCalcVertex::check_type(ValueBase::Type type) LinkableValueNode::Vocab ValueNode_BLineCalcVertex::get_children_vocab_vfunc()const { + if(children_vocab.size()) + return children_vocab; + LinkableValueNode::Vocab ret; ret.push_back(ParamDesc(ValueBase(),"bline")