Changeset 8439 for code/trunk/src/libraries
- Timestamp:
- May 9, 2011, 6:44:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/GUIManager.cc
r8423 r8439 59 59 # include <OgreCamera.h> 60 60 # include <OgreRenderQueueListener.h> 61 # include <OgreRenderSystem.h> 62 # include <OgreRoot.h> 61 63 # include <OgreSceneManager.h> 62 64 #endif … … 137 139 { 138 140 if (id == Ogre::RENDER_QUEUE_OVERLAY && invocation.empty()) 141 { 139 142 CEGUI::System::getSingleton().renderGUI(); 143 144 // Important workaround! (at least required by CEGUI 0.7.5) 145 // If we don't reset the scissor test, OGRE will only render overlays 146 // in the area where CEGUI last drew, which is usually nothing 147 // or a little box where the focused element is. 148 Ogre::Root::getSingleton().getRenderSystem()->setScissorTest(false); 149 } 140 150 } 141 151 };
Note: See TracChangeset
for help on using the changeset viewer.