Changeset 2927 for code/trunk/src/orxonox/gui
- Timestamp:
- Apr 19, 2009, 10:59:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gui/GUIManager.cc
r2896 r2927 252 252 void GUIManager::setCamera(Ogre::Camera* camera) 253 253 { 254 this->guiRenderer_->setTargetSceneManager(camera->getSceneManager()); 254 if (camera == NULL) 255 this->guiRenderer_->setTargetSceneManager(0); 256 else 257 this->guiRenderer_->setTargetSceneManager(camera->getSceneManager()); 255 258 } 256 259
Note: See TracChangeset
for help on using the changeset viewer.