- Timestamp:
- Nov 29, 2008, 12:25:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/ParticleEmitter.cc
r2087 r2296 61 61 { 62 62 if (this->isInitialized() && this->particles_) 63 { 64 this->detachOgreObject(this->particles_->getParticleSystem()); 63 65 delete this->particles_; 66 } 64 67 } 65 68 … … 104 107 { 105 108 this->particles_ = new ParticleInterface(this->getScene()->getSceneManager(), this->source_, this->LOD_); 106 this-> particles_->addToSceneNode(this->getNode());109 this->attachOgreObject(particles_->getParticleSystem()); 107 110 this->particles_->setVisible(this->isVisible()); 108 111 this->particles_->setEnabled(this->isActive());
Note: See TracChangeset
for help on using the changeset viewer.