Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6041


Ignore:
Timestamp:
Nov 5, 2009, 11:18:05 PM (14 years ago)
Author:
rgrieder
Message:

Fixed config value naming problem with the soft debug levels.

Location:
code/branches/console/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/libraries/core/ConfigValueIncludes.h

    r6011 r6041  
    4949#define SetConfigValueGeneric(type, varname, entryname, sectionname, defvalue) \
    5050    static orxonox::Identifier* identifier##varname = this->getIdentifier(); \
    51     orxonox::ConfigValueContainer* container##varname = identifier##varname->getConfigValueContainer(#varname); \
     51    orxonox::ConfigValueContainer* container##varname = identifier##varname->getConfigValueContainer(entryname); \
    5252    if (!container##varname) \
    5353    { \
    5454        container##varname = new orxonox::ConfigValueContainer(type, identifier##varname, sectionname, entryname, defvalue, varname); \
    55         identifier##varname->addConfigValueContainer(#varname, container##varname); \
     55        identifier##varname->addConfigValueContainer(entryname, container##varname); \
    5656    } \
    5757    container##varname->getValue(&varname, this)
  • code/branches/console/src/libraries/core/IOConsole.cc

    r6037 r6041  
    460460        : shell_(new Shell("IOConsole", false, true))
    461461        , buffer_(shell_->getInputBuffer())
     462        , cout_(std::cout.rdbuf())
    462463        , bStatusPrinted_(false)
    463464        , promptString_("orxonox # ")
Note: See TracChangeset for help on using the changeset viewer.