Don't show timing information for calls to LayerGroupTreeStore::rebuild() and LayerPa...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 20:24:29 +0000 (20:24 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 20:24:29 +0000 (20:24 +0000)
git-svn-id: http://svn.voria.com/code@1441 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp
synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp

index c13bbe2..f9750a5 100644 (file)
@@ -698,7 +698,7 @@ void
 LayerGroupTreeStore::rebuild()
 {
        rebuilding=true;
-               etl::clock timer;timer.reset();
+       // etl::clock timer;timer.reset();
        try {
 
                // Clear out the current list
@@ -731,7 +731,7 @@ LayerGroupTreeStore::rebuild()
                throw;
        }
        rebuilding=false;
-       synfig::info("LayerGroupTreeStore::rebuild() took %f seconds",float(timer()));
+       // synfig::info("LayerGroupTreeStore::rebuild() took %f seconds",float(timer()));
 }
 
 void
index 4f6cf01..f56de42 100644 (file)
@@ -299,7 +299,7 @@ LayerParamTreeStore::set_value_impl(const Gtk::TreeModel::iterator& iter, int co
 void
 LayerParamTreeStore::rebuild()
 {
-       Profiler profiler("LayerParamTreeStore::rebuild()");
+       // Profiler profiler("LayerParamTreeStore::rebuild()");
        if(queued)queued=false;
        clear();
        layer_list=layer_tree->get_selected_layers();