diff engine/core/util/resource/pool.cpp @ 588:a46368b3d8a0

* Added checks to setRotation() and setLocation() to prevent performance decrease. * Commented out the sanityCheck() in pool destructor, it is only usefull for debugging and slows down the engine destruction massively.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 13 Aug 2010 13:54:02 +0000
parents 376b8afc9a18
children b84dbc4665b0
line wrap: on
line diff
--- a/engine/core/util/resource/pool.cpp	Wed Aug 11 16:52:57 2010 +0000
+++ b/engine/core/util/resource/pool.cpp	Fri Aug 13 13:54:02 2010 +0000
@@ -46,7 +46,8 @@
 	Pool::~Pool() {
 		FL_LOG(_log, LMsg("Pool destroyed: ") << m_name);
 		printStatistics();
-		sanityCheck();
+		// This is only usefull for debugging
+		//sanityCheck();
 		reset();
 		std::vector<ResourceLoader*>::iterator loader;
 		for (loader = m_loaders.begin(); loader != m_loaders.end(); loader++) {