- Timestamp:
- Dec 28, 2008, 7:21:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/worldentities/Billboard.cc
r2485 r2537 34 34 #include "core/CoreIncludes.h" 35 35 #include "core/XMLPort.h" 36 #include "core/Core.h" 36 37 #include "objects/Scene.h" 37 38 … … 80 81 if (!this->billboard_.getBillboardSet()) 81 82 { 82 if (this->getScene() && this->getScene()->getSceneManager())83 if (this->getScene() && Core::showsGraphics()) 83 84 { 84 85 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->material_, this->colour_, 1); … … 97 98 { 98 99 /* 99 if (this->getScene() && this->getScene()->getSceneManager() && (this->material_ != ""))100 if (this->getScene() && Core::showsGraphics() && (this->material_ != "")) 100 101 { 101 102 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->material_, this->colour_, 1);
Note: See TracChangeset
for help on using the changeset viewer.