Changeset 8274 for code/branches/kicklib/src
- Timestamp:
- Apr 20, 2011, 4:16:31 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/libraries/core/GraphicsManager.cc
r8272 r8274 107 107 // Only for development runs 108 108 if (PathConfig::isDevelopmentRun()) 109 {110 109 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()); 115 114 116 115 if (bLoadRenderer) … … 134 133 // Undeclare the resources 135 134 Loader::unload(resources_.get()); 136 if (PathConfig::isDevelopmentRun()) 137 Loader::unload(extResources_.get()); 135 Loader::unload(extResources_.get()); 138 136 } 139 137
Note: See TracChangeset
for help on using the changeset viewer.