Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5397 in orxonox.OLD for trunk/src/lib/shell/shell.cc


Ignore:
Timestamp:
Oct 18, 2005, 5:33:11 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Elemet2D-drawing better
prevent segfault in setParent with NULL as new Parent in Element2D and PNode

File:
1 edited

Legend:

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

    r5388 r5397  
    285285  this->shellInput->setFont(this->fontFile, this->textSize);
    286286  this->shellInput->setAlignment(TEXT_ALIGN_LEFT);
    287   if (shellInput->getParent() != this)
     287  if (shellInput->getParent2D() != this)
    288288    this->shellInput->setParent2D(this);
    289289
Note: See TracChangeset for help on using the changeset viewer.