Changeset 1825
- Timestamp:
- Sep 22, 2008, 10:05:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSGraphics.cc
r1824 r1825 157 157 158 158 // Remove all resources and resource groups 159 StringVector groups = ResourceGroupManager::getSingleton().getResourceGroups();160 for (StringVector::iterator it = groups.begin(); it != groups.end(); ++it)161 {162 ResourceGroupManager::getSingleton().destroyResourceGroup(*it);163 }164 165 ParticleSystemManager::getSingleton().removeAllTemplates();159 //StringVector groups = ResourceGroupManager::getSingleton().getResourceGroups(); 160 //for (StringVector::iterator it = groups.begin(); it != groups.end(); ++it) 161 //{ 162 // ResourceGroupManager::getSingleton().destroyResourceGroup(*it); 163 //} 164 165 //ParticleSystemManager::getSingleton().removeAllTemplates(); 166 166 167 167 // Shutdown the render system 168 this->ogreRoot_->setRenderSystem(0);168 //this->ogreRoot_->setRenderSystem(0); 169 169 170 170 Settings::_getInstance().bShowsGraphics_ = false;
Note: See TracChangeset
for help on using the changeset viewer.