X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;h=23ea7731f072da8c4aec6c6a2dde197c67caa91e;hp=a6fc589870a45a8a33dc7c14becba6d3bf5daaa1;hb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;hpb=72fee47109d8d1f6e4c5043ab60200e61357636a diff --git a/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp b/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp index a6fc589..23ea773 100644 --- a/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp +++ b/synfig-core/src/synfig/valuenode_blinecalcvertex.cpp @@ -220,3 +220,26 @@ ValueNode_BLineCalcVertex::check_type(ValueBase::Type type) { return type==ValueBase::TYPE_VECTOR; } + +LinkableValueNode::Vocab +ValueNode_BLineCalcVertex::get_param_vocab()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"bline") + .set_local_name(_("BLine")) + .set_description(_("The BLine where the vertex is linked to")) + ); + + ret.push_back(ParamDesc(ValueBase(),"loop") + .set_local_name(_("Loop")) + .set_description(_("When checked, the amount would loop")) + ); + + ret.push_back(ParamDesc(ValueBase(),"amount") + .set_local_name(_("Amount")) + .set_description(_("The position of the linked vertex on the BLine (0,1]")) + ); + + return ret; +}