X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode.cpp;h=b423afc9d75200a5464922fad379fd1fff9c206f;hb=3d1c302c92906f495ffddd9bf295b20083fec3df;hp=c249559eb9bedde133ff8fd185f4a802b586055e;hpb=c93fad2d78617574f9e0e66d3b2701bfd85e8024;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode.cpp b/synfig-core/src/synfig/valuenode.cpp index c249559..b423afc 100644 --- a/synfig-core/src/synfig/valuenode.cpp +++ b/synfig-core/src/synfig/valuenode.cpp @@ -34,7 +34,6 @@ #include "valuenode.h" #include "general.h" #include "canvas.h" -#include "paramdesc.h" #include "releases.h" #include "valuenode_const.h" @@ -198,35 +197,6 @@ bool ValueNode::subsys_stop() { delete book_; -/* if(global_value_node_map.size() || value_node_count) - { - if(value_node_count) - synfig::error("%d ValueNodes haven't been destroyed yet!",value_node_count); - - if(global_value_node_map.size()!=value_node_count) - synfig::error("value node count mismatch! map.size()!=value_node_count (%d!=%d)",global_value_node_map.size(),value_node_count); - - GlobalValueNodeMap::iterator iter; - for(iter=global_value_node_map.begin();iter!=global_value_node_map.end();++iter) - { - if(!iter->second->is_exported()) - synfig::info(_("%s: count:%d name:%s type:%s"), - iter->first.get_string().c_str(), - iter->second->count(), - iter->second->get_name().c_str(), - ValueBase::type_local_name(iter->second->get_type()).c_str() - ); - else - synfig::info(_("%s: id:%s count:%d name:%s type:%s"), - iter->first.get_string().c_str(), - iter->second->get_id().c_str(), - iter->second->count(), - iter->second->get_name().c_str(), - ValueBase::type_local_name(iter->second->get_type()).c_str() - ); - } - } -*/ return true; } @@ -698,3 +668,4 @@ LinkableValueNode::get_description(int index, bool show_exported_name)const return description; } +