Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2011, 9:31:02 PM (13 years ago)
Author:
rgrieder
Message:

Renamed PathConfig::isDevelopmentRun() to PathConfig::buildDirectoryRun() because that fits better and there is no confusion with Core::inDevMode().
Also used isDevelopmentRun() as default value for Core::inDevMode() instead of ORXONOX_RELEASE.

File:
1 edited

Legend:

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

    r8351 r8366  
    119119        Loader::open(resources_.get());
    120120
    121         // Only for development runs
    122         if (PathConfig::isDevelopmentRun())
     121        // Only for runs in the build directory (not installed)
     122        if (PathConfig::buildDirectoryRun())
    123123            Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getExternalDataPathString(), "FileSystem");
    124124
     
    251251        std::string pluginPath = specialConfig::ogrePluginsDirectory;
    252252#ifdef DEPENDENCY_PACKAGE_ENABLE
    253         if (!PathConfig::isDevelopmentRun())
     253        if (!PathConfig::buildDirectoryRun())
    254254        {
    255255#  if defined(ORXONOX_PLATFORM_WINDOWS)
Note: See TracChangeset for help on using the changeset viewer.