Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 27, 2008, 4:08:51 AM (16 years ago)
Author:
landauf
Message:

many changes, most important: BaseObject takes now a pointer to it's creator which is needed to build a level hierarchy (with different scenes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/ParticleSpawner.cc

    r1755 r2019  
    8080        this->setPosition(this->getNode()->getParent()->getPosition());
    8181        this->getNode()->getParent()->removeChild(this->getNode());
    82         GraphicsEngine::getInstance().getLevelSceneManager()->getRootSceneNode()->addChild(this->getNode());
     82        this->detachFromParent();
    8383        if (this->particle_)
    8484            this->particle_->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.