Changeset 3172
- Timestamp:
- Jun 14, 2009, 9:04:31 PM (16 years ago)
- Location:
- code/branches/pch/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/GraphicsManager.cc
r3131 r3172 66 66 #include "tools/ParticleInterface.h" 67 67 68 // HACK! 69 #include "overlays/map/Map.h" 70 68 71 namespace orxonox 69 72 { … … 142 145 // Ogre::RenderSystem* renderer = this->ogreRoot_->getRenderSystem(); 143 146 // renderer->destroyRenderWindow("Orxonox"); 147 148 // HACK! This fixes an exit crash 149 Map::hackDestroyMap(); 144 150 145 151 // unload all compositors -
code/branches/pch/src/orxonox/overlays/map/Map.cc
r3154 r3172 402 402 } 403 403 404 // HACK! 405 void Map::hackDestroyMap() 406 { 407 Map::OverlayMaterial_.setNull(); 408 } 409 404 410 void Map::tick(float dt) 405 411 { -
code/branches/pch/src/orxonox/overlays/map/Map.h
r3154 r3172 52 52 53 53 static void openMap(); 54 // HACK! 55 static void hackDestroyMap(); 54 56 55 57 //Not yet implemented
Note: See TracChangeset
for help on using the changeset viewer.