Changeset 11132 for code/branches/ogre1.9/src/orxonox
- Timestamp:
- Mar 6, 2016, 9:18:13 PM (9 years ago)
- Location:
- code/branches/ogre1.9/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ogre1.9/src/orxonox/Scene.cc
r11131 r11132 94 94 this->sceneManager_->addRenderQueueListener(this->renderQueueListener_);//add our own renderQueueListener 95 95 #if OGRE_VERSION >= 0x010900 96 this->overlaySystem_ = new Ogre::OverlaySystem(); 97 this->sceneManager_->addRenderQueueListener(this->overlaySystem_); 96 this->sceneManager_->addRenderQueueListener(GraphicsManager::getInstance().getOverlaySystem()); 98 97 #endif 99 98 … … 142 141 { 143 142 #if OGRE_VERSION >= 0x010900 144 this->sceneManager_->removeRenderQueueListener(this->overlaySystem_); 145 delete this->overlaySystem_; 143 this->sceneManager_->removeRenderQueueListener(GraphicsManager::getInstance().getOverlaySystem()); 146 144 #endif 147 145 this->sceneManager_->removeRenderQueueListener(this->renderQueueListener_); -
code/branches/ogre1.9/src/orxonox/Scene.h
r11131 r11132 111 111 Ogre::SceneNode* rootSceneNode_; //!< This is a pointer to the root node of the Scene tree 112 112 RenderQueueListener* renderQueueListener_; //!< this is a pointer to the RenderQueueListener we're using for this Scene 113 Ogre::OverlaySystem* overlaySystem_;114 113 115 114 std::string skybox_; //!< This string holds information about the skybox we're using
Note: See TracChangeset
for help on using the changeset viewer.