X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_log.cpp;h=ad261113218eae8bd435e91f43c56ee8740fbe94;hb=2b2950e88fb6c4bfa36ec91eb86de33c6c27fafe;hp=59f82e59b439f294e0de6df33c42cfd579d94089;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_log.cpp b/synfig-core/src/synfig/valuenode_log.cpp index 59f82e5..ad26111 100644 --- a/synfig-core/src/synfig/valuenode_log.cpp +++ b/synfig-core/src/synfig/valuenode_log.cpp @@ -54,6 +54,8 @@ using namespace synfig; ValueNode_Logarithm::ValueNode_Logarithm(const ValueBase &x): LinkableValueNode(x.get_type()) { + Vocab ret(get_children_vocab()); + set_children_vocab(ret); Real value(x.get(Real())); Real infinity(999999.0); Real epsilon(0.000001); @@ -108,44 +110,6 @@ ValueNode_Logarithm::get_link_vfunc(int i)const return 0; } -int -ValueNode_Logarithm::link_count()const -{ - return 3; -} - -String -ValueNode_Logarithm::link_local_name(int i)const -{ - assert(i>=0 && i=0 && i