Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2005, 1:52:47 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/parenting: :Curve: bezierCurve now can have 0,1,2,3 points. instead of only more than 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/track_manager.cc

    r3354 r3355  
    180180void TrackManager::workOn(unsigned int trackID)
    181181{
    182   this->currentTrackElem = findTrackElementByID(trackID);
    183   printf("now Working on %d\n", trackID);
     182  TrackElement* tmpElem = findTrackElementByID(trackID);
     183  if (tmpElem)
     184    this->currentTrackElem = tmpElem;
     185  else
     186    printf("TrackElement not Found, leaving unchanged\n");
     187  printf("now Working on %d\n", this->currentTrackElem->ID);
     188
    184189}
    185190
Note: See TracChangeset for help on using the changeset viewer.