X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_log.cpp;h=4ddb8a7f0bcf0139a8daf195b0f00243c4e5905b;hb=d4cb326591ea23f82d341eb368b3d183b46f56c7;hp=59f82e59b439f294e0de6df33c42cfd579d94089;hpb=adfc80c126f482d7ea2bac38001a2c4a7c7df88c;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_log.cpp b/synfig-core/src/synfig/valuenode_log.cpp index 59f82e5..4ddb8a7 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_children_vocab_vfunc()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; +}