X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_exp.cpp;h=7b96298a06fb49be14b35c5ac7027b422e4379b3;hb=d4cb326591ea23f82d341eb368b3d183b46f56c7;hp=4e41cc231b4a246e533f119884b01902170697ad;hpb=077db16bb2200d3f6e936c9da3d8fe2950317eae;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_exp.cpp b/synfig-core/src/synfig/valuenode_exp.cpp index 4e41cc2..7b96298 100644 --- a/synfig-core/src/synfig/valuenode_exp.cpp +++ b/synfig-core/src/synfig/valuenode_exp.cpp @@ -175,3 +175,21 @@ ValueNode_Exp::check_type(ValueBase::Type type) { return type==ValueBase::TYPE_REAL; } + +LinkableValueNode::Vocab +ValueNode_Exp::get_children_vocab_vfunc()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"exp") + .set_local_name(_("Exponent")) + .set_description(_("The value to raise the constant 'e'")) + ); + + ret.push_back(ParamDesc(ValueBase(),"scale") + .set_local_name(_("Scale")) + .set_description(_("Multiplier of the resulting exponent")) + ); + + return ret; +}