Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2008, 2:51:37 AM (16 years ago)
Author:
landauf
Message:

synchronization of ParticleSpawner is still strange but at least not totally ignored as before

File:
1 edited

Legend:

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

    r2065 r2067  
    9292            return;
    9393
    94         this->particles_->setEnabled(false);
     94        this->setActive(false);
    9595
    9696        if (this->bForceDestroy_ || this->bSuppressStart_)
     
    102102    void ParticleSpawner::fireParticleSpawner()
    103103    {
    104         this->particles_->setEnabled(true);
     104        this->setActive(true);
    105105        if (this->lifetime_ != 0)
    106106            this->timer_.setTimer(this->lifetime_, false, this, createExecutor(createFunctor(&ParticleSpawner::stopParticleSpawner)));
     
    109109    void ParticleSpawner::stopParticleSpawner()
    110110    {
    111         this->particles_->setEnabled(false);
     111        this->setActive(false);
    112112
    113113        if (this->bAutoDestroy_ || this->bForceDestroy_)
Note: See TracChangeset for help on using the changeset viewer.