Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 26, 2007, 8:54:56 PM (17 years ago)
Author:
landauf
Message:

replaced retos tiny hack (which didn't worked on my system) with a new approach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/DebugLevel.cc

    r686 r687  
    4242    DebugLevel::DebugLevel()
    4343    {
    44         this->softDebugLevel_ = 4;   // accounts for the recursive call when creating the object
    45         RegisterRootObject(DebugLevel);
    46         SetConfigValue(softDebugLevel_, 2);
     44        this->softDebugLevelContainer_ = new ConfigValueContainer(std::string("DebugLevel"), std::string("softDebugLevel_"), this->softDebugLevel_ = 2);
     45        this->softDebugLevel_ = this->softDebugLevelContainer_->getValue(this->softDebugLevel_);
    4746    }
    4847
Note: See TracChangeset for help on using the changeset viewer.