Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 20, 2011, 4:16:31 AM (14 years ago)
Author:
rgrieder
Message:

Do not merge resources.oxr files to avoid problems at intall time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/src/libraries/core/GraphicsManager.cc

    r8272 r8274  
    107107        // Only for development runs
    108108        if (PathConfig::isDevelopmentRun())
    109         {
    110109            Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getExternalDataPathString(), "FileSystem");
    111             extResources_.reset(new XMLFile("resources.oxr"));
    112             extResources_->setLuaSupport(false);
    113             Loader::open(extResources_.get());
    114         }
     110
     111        extResources_.reset(new XMLFile("resources.oxr"));
     112        extResources_->setLuaSupport(false);
     113        Loader::open(extResources_.get());
    115114
    116115        if (bLoadRenderer)
     
    134133        // Undeclare the resources
    135134        Loader::unload(resources_.get());
    136         if (PathConfig::isDevelopmentRun())
    137             Loader::unload(extResources_.get());
     135        Loader::unload(extResources_.get());
    138136    }
    139137
Note: See TracChangeset for help on using the changeset viewer.