Changeset 2023 for code/branches/objecthierarchy/src/orxonox/tools
- Timestamp:
- Oct 27, 2008, 10:56:51 PM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/orxonox/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/tools/BillboardSet.cc
r2019 r2023 34 34 #include <OgreSceneManager.h> 35 35 36 #include "GraphicsEngine.h"37 36 #include "util/Math.h" 38 37 -
code/branches/objecthierarchy/src/orxonox/tools/Light.cc
r2019 r2023 35 35 #include <OgreSceneManager.h> 36 36 37 #include "GraphicsEngine.h"38 39 37 namespace orxonox 40 38 { -
code/branches/objecthierarchy/src/orxonox/tools/Mesh.cc
r2019 r2023 35 35 36 36 #include "core/Core.h" 37 #include "GraphicsEngine.h"38 37 #include "util/Convert.h" 39 38 #include "util/String.h" … … 64 63 this->scenemanager_->destroyEntity(this->entity_); 65 64 66 try65 if (Core::showsGraphics()) 67 66 { 68 this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource); 69 this->entity_->setCastShadows(this->bCastShadows_); 70 } 71 catch (...) 72 { 73 COUT(1) << "Error: Couln't load mesh \"" << meshsource << "\"" << std::endl; 67 try 68 { 69 this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource); 70 this->entity_->setCastShadows(this->bCastShadows_); 71 } 72 catch (...) 73 { 74 COUT(1) << "Error: Couln't load mesh \"" << meshsource << "\"" << std::endl; 75 } 74 76 } 75 77 }
Note: See TracChangeset
for help on using the changeset viewer.