Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8274


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

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

Location:
code/branches/kicklib
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/data/CMakeLists.txt

    r7163 r8274  
    5959  DIRECTORY ${EXTERNAL_DATA_DIRECTORY}/
    6060  DESTINATION ${DATA_INSTALL_DIRECTORY}
    61   REGEX "\\.svn$|_svn$|resources\\.oxr|AUTHORS|LICENSE" EXCLUDE
     61  REGEX "\\.svn$|_svn$|AUTHORS|LICENSE" EXCLUDE
    6262)
    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 files
    66 INSTALL(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/DataInstallScript.cmake)
  • 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.