Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3529 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc


Ignore:
Timestamp:
Mar 13, 2005, 10:39:28 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: zero-loop problem in pnode, dynamic pnode realocation. unstable, segfault when changing level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/null_parent.cc

    r3488 r3529  
    3636   \todo this constructor is not jet implemented - do it
    3737*/
    38 NullParent::NullParent ()
     38NullParent::NullParent () : PNode("NullParent")
    3939{
     40  printf("NullParent::NullParent() - making new NullParent, there can only be one..\n");
    4041  this->parent = this;
    4142  this->mode = ALL;
     43  this->setName("NullParent");
    4244}
    4345
    4446
    45 NullParent::NullParent (Vector* absCoordinate)
     47NullParent::NullParent (Vector* absCoordinate) : PNode("NullParent")
    4648{
    4749  this->parent = this;
    4850  this->mode = ALL;
    4951  this->absCoordinate = *absCoordinate;
     52  this->setName("NullParent");
    5053}
    5154
     
    5861NullParent::~NullParent ()
    5962{
    60   delete singletonRef;
     63  //delete singletonRef;
    6164  singletonRef = NULL;
    6265}
Note: See TracChangeset for help on using the changeset viewer.