- Timestamp:
- Nov 29, 2008, 12:25:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/Billboard.cc
r2087 r2296 50 50 { 51 51 if (this->isInitialized() && this->billboard_.getBillboardSet()) 52 this-> getNode()->detachObject(this->billboard_.getName());52 this->detachOgreObject(this->billboard_.getName()); 53 53 } 54 54 } … … 75 75 { 76 76 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->material_, this->colour_, 1); 77 this-> getNode()->attachObject(this->billboard_.getBillboardSet());77 this->attachOgreObject(this->billboard_.getBillboardSet()); 78 78 this->billboard_.setVisible(this->isVisible()); 79 79 } … … 90 90 { 91 91 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->material_, this->colour_, 1); 92 this-> getNode()->attachObject(this->billboard_.getBillboardSet());92 this->attachOgreObject(this->billboard_.getBillboardSet()); 93 93 this->billboard_.setVisible(this->isVisible()); 94 94 }
Note: See TracChangeset
for help on using the changeset viewer.