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/PathConfig.cc

    r8351 r8366  
    8484        , configPath_(*(new bf::path()))
    8585        , logPath_(*(new bf::path()))
    86         , bDevRun_(false)
     86        , bBuildDirectoryRun_(false)
    8787    {
    8888        //////////////////////////
     
    138138        {
    139139            COUT(1) << "Running from the build tree." << std::endl;
    140             PathConfig::bDevRun_ = true;
     140            PathConfig::bBuildDirectoryRun_ = true;
    141141            modulePath_ = specialConfig::moduleDevDirectory;
    142142        }
     
    180180    void PathConfig::setConfigurablePaths()
    181181    {
    182         if (bDevRun_)
     182        if (bBuildDirectoryRun_)
    183183        {
    184184            dataPath_         = specialConfig::dataDevDirectory;
Note: See TracChangeset for help on using the changeset viewer.