Changeset 8274
- Timestamp:
- Apr 20, 2011, 4:16:31 AM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/data/CMakeLists.txt
r7163 r8274 59 59 DIRECTORY ${EXTERNAL_DATA_DIRECTORY}/ 60 60 DESTINATION ${DATA_INSTALL_DIRECTORY} 61 REGEX "\\.svn$|_svn$| resources\\.oxr|AUTHORS|LICENSE" EXCLUDE61 REGEX "\\.svn$|_svn$|AUTHORS|LICENSE" EXCLUDE 62 62 ) 63 # Configure the install scripts (variables not available during installation)64 CONFIGURE_FILE(DataInstallScript.cmake ${CMAKE_CURRENT_BINARY_DIR}/DataInstallScript.cmake @ONLY)65 # Join both resources.oxr files66 INSTALL(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/DataInstallScript.cmake) -
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.