Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1252


Ignore:
Timestamp:
May 8, 2008, 3:21:05 PM (16 years ago)
Author:
rgrieder
Message:
  • all resources are now loaded from the beginning (hack!)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ogre/src/orxonox/GraphicsEngine.cc

    r1249 r1252  
    222222    {
    223223      Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
     224      Ogre::StringVector str = Ogre::ResourceGroupManager::getSingleton().getResourceGroups();
     225      for (unsigned int i = 0; i < str.size(); i++)
     226      {
     227        Ogre::ResourceGroupManager::getSingleton().loadResourceGroup(str[i]);
     228      }
    224229    }
    225230    catch (Ogre::Exception e)
Note: See TracChangeset for help on using the changeset viewer.