Changeset 7879 for code/trunk/src/orxonox
- Timestamp:
- Feb 13, 2011, 9:35:47 PM (14 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/CameraManager.cc
r7284 r7879 107 107 // Last known Ogre version needing this workaround: 108 108 // 1.4.8 109 // 1.7.2 109 110 110 111 // deactivate all compositors -
code/trunk/src/orxonox/gamestates/GSLevel.cc
r7876 r7879 111 111 { 112 112 if (GameMode::showsGraphics()) 113 { 113 InputManager::getInstance().leaveState("game"); 114 115 // disconnect all HumanPlayers 116 PlayerManager::getInstance().disconnectAllClients(); 117 118 if (GameMode::isMaster()) 119 this->unloadLevel(); 120 121 if (GameMode::showsGraphics()) 122 { 123 #if OGRE_VERSION < 0x010700 114 124 // unload all compositors (this is only necessary because we don't yet destroy all resources!) 115 125 Ogre::CompositorManager::getSingleton().removeAll(); 116 117 InputManager::getInstance().leaveState("game"); 118 } 119 120 // disconnect all HumanPlayers 121 PlayerManager::getInstance().disconnectAllClients(); 122 123 if (GameMode::isMaster()) 124 this->unloadLevel(); 125 126 if (GameMode::showsGraphics()) 127 { 126 #endif 127 128 128 gameInputState_->setHandler(0); 129 129 guiMouseOnlyInputState_->setHandler(0);
Note: See TracChangeset
for help on using the changeset viewer.