Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2005, 9:08:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: added trackNode, but there is a segfault while deleting the pNodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/trackManager/src/story_entities/world.cc

    r3500 r3505  
    222222            this->localCamera->setName ("camera");
    223223            this->localCamera->bind (myPlayer);
    224             this->localPlayer->addChild (this->localCamera);
     224            //this->localPlayer->addChild (this->localCamera);
    225225
    226226            // Create SkySphere
     
    240240
    241241            trackManager->setBindSlave(TrackNode::getInstance());
    242             env->setParent(TrackNode::getInstance());
     242            TrackNode::getInstance()->addChild(myPlayer);
     243            TrackNode::getInstance()->addChild(localCamera);
    243244
    244245            break;
Note: See TracChangeset for help on using the changeset viewer.