Changeset 1653 for code/branches/gui/src/orxonox/tools/Mesh.cc
- Timestamp:
- Aug 5, 2008, 9:50:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/tools/Mesh.cc
r1638 r1653 49 49 std::ostringstream name; 50 50 name << (Mesh::meshCounter_s++); 51 this->entity_ = GraphicsEngine::get Singleton().getLevelSceneManager()->createEntity("Mesh" + name.str(), file);51 this->entity_ = GraphicsEngine::getInstance().getLevelSceneManager()->createEntity("Mesh" + name.str(), file); 52 52 } 53 53 … … 55 55 { 56 56 if (this->entity_) 57 GraphicsEngine::get Singleton().getLevelSceneManager()->destroyEntity(this->entity_);57 GraphicsEngine::getInstance().getLevelSceneManager()->destroyEntity(this->entity_); 58 58 } 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.