X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_log.cpp;h=ad261113218eae8bd435e91f43c56ee8740fbe94;hb=HEAD;hp=3e67dd80b1bf9b7a2b1def0878bfb731e5d12f09;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_log.cpp b/synfig-core/src/synfig/valuenode_log.cpp index 3e67dd8..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