Changeset 2834 for code/branches/gui/src/orxonox/gamestates
- Timestamp:
- Mar 23, 2009, 4:48:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSStandalone.cc
r2817 r2834 58 58 // not sure if necessary 59 59 // guiManager_->loadScene("IngameMenu"); 60 61 Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();62 guiManager_->showGUI("IngameMenu", viewport->getCamera()->getSceneManager());63 60 } 64 61 … … 72 69 void GSStandalone::ticked(const Clock& time) 73 70 { 74 Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();71 //Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport(); 75 72 //COUT(0) << "** " << viewport->getCamera()->getSceneManager() << std::endl; 76 73 //guiManager_->testFct(); 77 74 //Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport(); 78 guiManager_->showGUI("IngameMenu", viewport->getCamera()->getSceneManager());75 //guiManager_->showGUI("IngameMenu", viewport->getCamera()->getSceneManager()); 79 76 80 77 // tick CEGUI
Note: See TracChangeset
for help on using the changeset viewer.