Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5108 in orxonox.OLD for trunk/src/util/shell.cc


Ignore:
Timestamp:
Aug 23, 2005, 9:51:20 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: softDir/softCoor is now overwritten(deleted) if one sets the relCoor/relDir/absDir/absCoor
shell is also in smooth-mode now :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/shell.cc

    r5107 r5108  
    252252   {
    253253     Text* lastText = this->bufferText[this->bufferDisplaySize-1];
    254      Vector firstCoord = this->bufferText[0]->getRelCoor2D();
     254     Vector firstCoord = this->bufferText[0]->getRelCoorSoft2D();
    255255
    256256     Text* swapText;
    257257     Text* moveText = this->bufferText[0];
    258      this->bufferText[0]->setRelCoor2D(this->bufferText[1]->getRelCoor2D());
     258     this->bufferText[0]->setRelCoorSoft2D(this->bufferText[1]->getRelCoorSoft2D(), 5);
    259259     for (unsigned int i = 1; i < this->bufferDisplaySize; i++)
    260260     {
    261261       if ( i < this->bufferDisplaySize-1)
    262          this->bufferText[i]->setRelCoor2D(this->bufferText[i+1]->getRelCoor2D());
     262         this->bufferText[i]->setRelCoorSoft2D(this->bufferText[i+1]->getRelCoorSoft2D(),5);
    263263       swapText = this->bufferText[i];
    264264       this->bufferText[i] = moveText;
Note: See TracChangeset for help on using the changeset viewer.