X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_timeloop.cpp;h=1182399a1cc84f3763f3ea5bf1dbb3c528c8bb46;hp=60ba1a0870c258859aef4c1d88fb555403afd691;hb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;hpb=72fee47109d8d1f6e4c5043ab60200e61357636a diff --git a/synfig-core/src/synfig/valuenode_timeloop.cpp b/synfig-core/src/synfig/valuenode_timeloop.cpp index 60ba1a0..1182399 100644 --- a/synfig-core/src/synfig/valuenode_timeloop.cpp +++ b/synfig-core/src/synfig/valuenode_timeloop.cpp @@ -198,3 +198,31 @@ ValueNode_TimeLoop::check_type(ValueBase::Type type) return true; return false; } + + +LinkableValueNode::Vocab +ValueNode_TimeLoop::get_param_vocab()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc("link") + .set_local_name(_("Link")) + .set_description(_("The value node to time loop")) + ); + + ret.push_back(ParamDesc("link_time") + .set_local_name(_("Link Time")) + .set_description(_("Start time of the loop for the value node timeline")) + ); + + ret.push_back(ParamDesc("local_time") + .set_local_name(_("Local Time")) + .set_description(_("The time when the resulted loop starts")) + ); + + ret.push_back(ParamDesc("duration") + .set_local_name(_("Duration")) + .set_description(_("Lenght of the loop")) + ); + return ret; +}