Changeset 2297
- Timestamp:
- Nov 29, 2008, 12:40:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/pawns/Spectator.cc
r2087 r2297 62 62 this->greetingFlare_ = new BillboardSet(); 63 63 this->greetingFlare_->setBillboardSet(this->getScene()->getSceneManager(), "Examples/Flare", ColourValue(1.0, 1.0, 0.8), Vector3(0, 20, 0), 1); 64 this-> getNode()->attachObject(this->greetingFlare_->getBillboardSet());64 this->attachOgreObject(this->greetingFlare_->getBillboardSet()); 65 65 this->greetingFlare_->setVisible(false); 66 66 this->bGreetingFlareVisible_ = false; … … 76 76 if (this->greetingFlare_) 77 77 { 78 this-> getNode()->detachObject(this->greetingFlare_->getBillboardSet());78 this->detachOgreObject(this->greetingFlare_->getBillboardSet()); 79 79 delete this->greetingFlare_; 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.