]> git.mxchange.org Git - simgear.git/commitdiff
Quite some debug output from the materials caches.
authorJames Turner <zakalawe@mac.com>
Mon, 4 Jan 2016 03:51:58 +0000 (21:51 -0600)
committerJames Turner <zakalawe@mac.com>
Mon, 4 Jan 2016 03:51:58 +0000 (21:51 -0600)
simgear/scene/material/matlib.cxx

index 848568d0f66b0dd3949160e179adf88eceebb3c5..99a1c4c46cd454f56bf8f5055f4054ac9998646d 100644 (file)
@@ -201,7 +201,7 @@ SGMaterialCache *SGMaterialLib::generateMatCache(SGGeod center)
 
 // Destructor
 SGMaterialLib::~SGMaterialLib ( void ) {
-    SG_LOG( SG_GENERAL, SG_INFO, "SGMaterialLib::~SGMaterialLib() size=" << matlib.size());
+    SG_LOG( SG_TERRAIN, SG_DEBUG, "SGMaterialLib::~SGMaterialLib() size=" << matlib.size());
 }
 
 const SGMaterial *SGMaterialLib::findMaterial(const osg::Geode* geode)
@@ -244,5 +244,5 @@ SGMaterial *SGMaterialCache::find(const string& material) const
 
 // Destructor
 SGMaterialCache::~SGMaterialCache ( void ) {
-    SG_LOG( SG_GENERAL, SG_INFO, "SGMaterialCache::~SGMaterialCache() size=" << cache.size());
+    SG_LOG( SG_TERRAIN, SG_DEBUG, "SGMaterialCache::~SGMaterialCache() size=" << cache.size());
 }