X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinereversetangent.cpp;h=b25f8cfd480317d71125f648f7fb5687eed00725;hp=ed2928bddc100cf5e76d4568adfb4585b14b7c3f;hb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;hpb=72fee47109d8d1f6e4c5043ab60200e61357636a diff --git a/synfig-core/src/synfig/valuenode_blinereversetangent.cpp b/synfig-core/src/synfig/valuenode_blinereversetangent.cpp index ed2928b..b25f8cf 100644 --- a/synfig-core/src/synfig/valuenode_blinereversetangent.cpp +++ b/synfig-core/src/synfig/valuenode_blinereversetangent.cpp @@ -200,3 +200,21 @@ ValueNode_BLineRevTangent::check_type(ValueBase::Type type) { return (type==ValueBase::TYPE_BLINEPOINT); } + +LinkableValueNode::Vocab +ValueNode_BLineRevTangent::get_param_vocab()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"reference") + .set_local_name(_("Reference")) + .set_description(_("The referenced tangent to reverse")) + ); + + ret.push_back(ParamDesc(ValueBase(),"reverse") + .set_local_name(_("Reverse")) + .set_description(_("When checked, the reference is reversed")) + ); + + return ret; +}