X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinereversetangent.cpp;h=922d9a3acb2ce30f28bb77b204bc6578b12516be;hb=dbc88fd05c8d29849d2e6227d23605508eb188ae;hp=b25f8cfd480317d71125f648f7fb5687eed00725;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_blinereversetangent.cpp b/synfig-core/src/synfig/valuenode_blinereversetangent.cpp index b25f8cf..922d9a3 100644 --- a/synfig-core/src/synfig/valuenode_blinereversetangent.cpp +++ b/synfig-core/src/synfig/valuenode_blinereversetangent.cpp @@ -63,6 +63,8 @@ ValueNode_BLineRevTangent::ValueNode_BLineRevTangent(const ValueBase::Type &x): ValueNode_BLineRevTangent::ValueNode_BLineRevTangent(const ValueNode::Handle &x): LinkableValueNode(x->get_type()) { + Vocab ret(get_children_vocab()); + set_children_vocab(ret); if(x->get_type()!=ValueBase::TYPE_BLINEPOINT) throw Exception::BadType(ValueBase::type_local_name(x->get_type())); @@ -202,8 +204,11 @@ ValueNode_BLineRevTangent::check_type(ValueBase::Type type) } LinkableValueNode::Vocab -ValueNode_BLineRevTangent::get_param_vocab()const +ValueNode_BLineRevTangent::get_children_vocab_vfunc()const { + if(children_vocab.size()) + return children_vocab; + LinkableValueNode::Vocab ret; ret.push_back(ParamDesc(ValueBase(),"reference")