Changeset 10192 for code/trunk/src/orxonox
- Timestamp:
- Jan 11, 2015, 9:30:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/Scene.cc
r9667 r10192 96 96 if (this->isInitialized()) 97 97 { 98 this->setPhysicalWorld(false); 99 100 if (this->radar_) 101 this->radar_->destroy(); 102 98 103 if (GameMode::showsGraphics()) 99 104 Ogre::Root::getSingleton().destroySceneManager(this->sceneManager_); 100 105 else 101 106 delete this->sceneManager_; 102 103 if (this->radar_)104 this->radar_->destroy();105 106 this->setPhysicalWorld(false);107 107 } 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.