- Timestamp:
- Nov 12, 2008, 2:24:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Billboard.cc
r2171 r2182 41 41 { 42 42 RegisterObject(Billboard); 43 44 this->material_ = ""; 45 this->colour_ = ColourValue::White; 43 46 44 47 this->registerVariables(); … … 88 91 if (!this->billboard_.getBillboardSet()) 89 92 { 90 if (this->getScene() && this->getScene()->getSceneManager() )93 if (this->getScene() && this->getScene()->getSceneManager() && (this->material_ != "")) 91 94 { 92 95 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->material_, this->colour_, 1);
Note: See TracChangeset
for help on using the changeset viewer.