Changeset 5813 for code/branches/core5/src/orxonox/Scene.cc
- Timestamp:
- Sep 27, 2009, 7:28:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/Scene.cc
r5805 r5813 44 44 #include "core/XMLPort.h" 45 45 #include "tools/BulletConversions.h" 46 #include "Radar.h" 46 47 #include "worldentities/WorldEntity.h" 47 48 … … 62 63 this->sceneManager_ = Ogre::Root::getSingleton().createSceneManager(Ogre::ST_GENERIC); 63 64 this->rootSceneNode_ = this->sceneManager_->getRootSceneNode(); 65 66 this->radar_ = new Radar(); 64 67 } 65 68 else … … 68 71 this->sceneManager_ = new Ogre::DefaultSceneManager(""); 69 72 this->rootSceneNode_ = this->sceneManager_->getRootSceneNode(); 73 74 this->radar_ = 0; 70 75 } 71 76 … … 92 97 else 93 98 delete this->sceneManager_; 99 100 if (this->radar_) 101 this->radar_->destroy(); 94 102 95 103 this->setPhysicalWorld(false);
Note: See TracChangeset
for help on using the changeset viewer.