Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1825 for code


Ignore:
Timestamp:
Sep 22, 2008, 10:05:41 PM (16 years ago)
Author:
rgrieder
Message:

shutdown sequence poses problems after all…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gamestates/GSGraphics.cc

    r1824 r1825  
    157157
    158158        // 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();
    166166
    167167        // Shutdown the render system
    168         this->ogreRoot_->setRenderSystem(0);
     168        //this->ogreRoot_->setRenderSystem(0);
    169169
    170170        Settings::_getInstance().bShowsGraphics_ = false;
Note: See TracChangeset for help on using the changeset viewer.