From 1b138b535876987c79453888f370d71910d975ed Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 23 Jan 2008 20:24:29 +0000 Subject: [PATCH] Don't show timing information for calls to LayerGroupTreeStore::rebuild() and LayerParamTreeStore::rebuild(). git-svn-id: http://svn.voria.com/code@1441 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp | 4 ++-- synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp b/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp index c13bbe2..f9750a5 100644 --- a/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp @@ -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 diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp index 4f6cf01..f56de42 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp @@ -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(); -- 2.7.4