projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't show log messages from each panel's destructor unless environment variable...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
layergrouptreestore.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp
b/synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp
index
c13bbe2
..
ff0dd27
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/layergrouptreestore.cpp
@@
-95,7
+95,9
@@
LayerGroupTreeStore::LayerGroupTreeStore(etl::loose_handle<synfigapp::CanvasInte
LayerGroupTreeStore::~LayerGroupTreeStore()
{
//clear();
LayerGroupTreeStore::~LayerGroupTreeStore()
{
//clear();
- synfig::info("LayerGroupTreeStore::~LayerGroupTreeStore(): Deleted");
+
+ if (getenv("SYNFIG_DEBUG_DESTRUCTORS"))
+ synfig::info("LayerGroupTreeStore::~LayerGroupTreeStore(): Deleted");
}
bool
}
bool
@@
-698,7
+700,7
@@
void
LayerGroupTreeStore::rebuild()
{
rebuilding=true;
LayerGroupTreeStore::rebuild()
{
rebuilding=true;
-
etl::clock timer;timer.reset();
+
//
etl::clock timer;timer.reset();
try {
// Clear out the current list
try {
// Clear out the current list
@@
-731,7
+733,7
@@
LayerGroupTreeStore::rebuild()
throw;
}
rebuilding=false;
throw;
}
rebuilding=false;
- synfig::info("LayerGroupTreeStore::rebuild() took %f seconds",float(timer()));
+
//
synfig::info("LayerGroupTreeStore::rebuild() took %f seconds",float(timer()));
}
void
}
void