X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_log.cpp;h=3e67dd80b1bf9b7a2b1def0878bfb731e5d12f09;hp=59f82e59b439f294e0de6df33c42cfd579d94089;hb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;hpb=72fee47109d8d1f6e4c5043ab60200e61357636a diff --git a/synfig-core/src/synfig/valuenode_log.cpp b/synfig-core/src/synfig/valuenode_log.cpp index 59f82e5..3e67dd8 100644 --- a/synfig-core/src/synfig/valuenode_log.cpp +++ b/synfig-core/src/synfig/valuenode_log.cpp @@ -183,4 +183,26 @@ ValueNode_Logarithm::check_type(ValueBase::Type type) return type==ValueBase::TYPE_REAL; } +LinkableValueNode::Vocab +ValueNode_Logarithm::get_param_vocab()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"link") + .set_local_name(_("Link")) + .set_description(_("Value node used to calculate the Neperian logarithm")) + ); + + ret.push_back(ParamDesc(ValueBase(),"epsilon") + .set_local_name(_("Epsilon")) + .set_description(_("Value used to compare 'link' with zero ")) + ); + + ret.push_back(ParamDesc(ValueBase(),"infinite") + .set_local_name(_("Infinite")) + .set_description(_("Returned value when result tends to infinite")) + ); + + return ret; +}