[Orxonox-commit 1692] r6410 - code/branches/presentation2/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Thu Dec 24 15:56:22 CET 2009


Author: rgrieder
Date: 2009-12-24 15:56:22 +0100 (Thu, 24 Dec 2009)
New Revision: 6410

Modified:
   code/branches/presentation2/src/libraries/core/GraphicsManager.cc
Log:
Just a small mistake...

Modified: code/branches/presentation2/src/libraries/core/GraphicsManager.cc
===================================================================
--- code/branches/presentation2/src/libraries/core/GraphicsManager.cc	2009-12-24 07:54:33 UTC (rev 6409)
+++ code/branches/presentation2/src/libraries/core/GraphicsManager.cc	2009-12-24 14:56:22 UTC (rev 6410)
@@ -396,7 +396,7 @@
         int orxonoxLevel;
         std::string introduction;
         // Do not show caught OGRE exceptions in front
-        if (message.find("OGRE_EXCEPTION"))
+        if (message.find("EXCEPTION") != std::string::npos)
         {
             orxonoxLevel = OutputLevel::Debug;
             introduction = "Ogre, caught exception: ";




More information about the Orxonox-commit mailing list