Changeset 2161 for code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleEmitter.cc
- Timestamp:
- Nov 9, 2008, 4:28:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleEmitter.cc
r2114 r2161 37 37 38 38 #include "tools/ParticleInterface.h" 39 #include "util/Exception.h" 39 40 #include "core/CoreIncludes.h" 40 41 #include "core/XMLPort.h" … … 49 50 RegisterObject(ParticleEmitter); 50 51 51 assert(this->getScene());52 assert(this->getScene()->getSceneManager());52 if (!this->getScene() || !this->getScene()->getSceneManager()) 53 throw AbortLoadingException("Can't create Camera, no scene or no scene manager given."); 53 54 54 55 this->particles_ = 0;
Note: See TracChangeset
for help on using the changeset viewer.