[Orxonox-commit 3739] r8419 - code/trunk/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Sun May 8 19:19:32 CEST 2011


Author: rgrieder
Date: 2011-05-08 19:19:32 +0200 (Sun, 08 May 2011)
New Revision: 8419

Modified:
   code/trunk/src/libraries/core/GUIManager.cc
Log:
Fixed a bug. But that doesn't really change anything ;(
CEGUI still renders on top of the overlays.

Modified: code/trunk/src/libraries/core/GUIManager.cc
===================================================================
--- code/trunk/src/libraries/core/GUIManager.cc	2011-05-08 16:53:39 UTC (rev 8418)
+++ code/trunk/src/libraries/core/GUIManager.cc	2011-05-08 17:19:32 UTC (rev 8419)
@@ -133,9 +133,9 @@
     {
     public:
         /// Callback from Ogre invoked before other stuff in our target queue is rendered
-        void renderQueueEnded(Ogre::uint8 id, const Ogre::String& invocation, bool& skipThisQueue)
+        void renderQueueStarted(Ogre::uint8 id, const Ogre::String& invocation, bool& skipThisQueue)
         {
-            if (id == Ogre::RENDER_QUEUE_SKIES_LATE)//Ogre::RENDER_QUEUE_OVERLAY)
+            if (id == Ogre::RENDER_QUEUE_OVERLAY && invocation.empty())
                 CEGUI::System::getSingleton().renderGUI();
         }
     };




More information about the Orxonox-commit mailing list