X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_pow.cpp;h=0072d1957a6f5145d7f8db550d97fd3e8df27c43;hb=2b2950e88fb6c4bfa36ec91eb86de33c6c27fafe;hp=b6fcae6584fd9e81f0c27c3810ef32dfb65afa9a;hpb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_pow.cpp b/synfig-core/src/synfig/valuenode_pow.cpp index b6fcae6..0072d19 100644 --- a/synfig-core/src/synfig/valuenode_pow.cpp +++ b/synfig-core/src/synfig/valuenode_pow.cpp @@ -54,6 +54,8 @@ using namespace synfig; ValueNode_Pow::ValueNode_Pow(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,47 +110,6 @@ ValueNode_Pow::get_link_vfunc(int i)const return 0; } -int -ValueNode_Pow::link_count()const -{ - return 4; -} - -String -ValueNode_Pow::link_local_name(int i)const -{ - assert(i>=0 && i=0 && i