Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6139 for code


Ignore:
Timestamp:
Nov 25, 2009, 12:06:15 AM (15 years ago)
Author:
rgrieder
Message:

Fixed a bug in Shell and changed parental order in InGameConsole.

Location:
code/branches/presentation2/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/Shell.cc

    r6105 r6139  
    265265            {
    266266                if (this->bPrependOutputLevel_)
    267                     output.insert(0, 1, static_cast<char>(level));
     267                {
     268                    if (level == 0)
     269                        output.insert(0, 1, static_cast<char>(-1));
     270                    else
     271                        output.insert(0, 1, static_cast<char>(level));
     272                }
    268273
    269274                this->outputLines_.push_front(output);
  • code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc

    r6135 r6139  
    224224        this->consoleOverlayNoise_->setMaterialName("ConsoleNoiseSmall");
    225225        // comment following line to disable noise
    226         this->consoleOverlayContainer_->addChild(this->consoleOverlayNoise_);
     226        this->consoleOverlayBorder_->addChild(this->consoleOverlayNoise_);
    227227
    228228        // create the text lines
Note: See TracChangeset for help on using the changeset viewer.