Changeset 5771
- Timestamp:
- Sep 23, 2009, 9:59:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/graphics/ParticleEmitter.cc
r5747 r5771 110 110 { 111 111 this->particles_ = new ParticleInterface(this->getScene()->getSceneManager(), this->source_, this->LOD_); 112 this->attachOgreObject(this->particles_->getParticleSystem()); 113 this->particles_->setVisible(this->isVisible()); 114 this->particles_->setEnabled(this->isActive()); 112 115 } 113 116 catch (...) … … 116 119 << Exception::handleMessage() << std::endl; 117 120 } 118 this->attachOgreObject(this->particles_->getParticleSystem());119 this->particles_->setVisible(this->isVisible());120 this->particles_->setEnabled(this->isActive());121 121 } 122 122 }
Note: See TracChangeset
for help on using the changeset viewer.