Changeset 2162 for code/branches/objecthierarchy/src/orxonox/objects
- Timestamp:
- Nov 9, 2008, 11:08:24 AM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/orxonox/objects/worldentities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/Camera.cc
r2161 r2162 53 53 54 54 if (!this->getScene() || !this->getScene()->getSceneManager()) 55 throw AbortLoadingException("Can't create Camera, no scene or no scene manager given.");55 ThrowException(AbortLoading, "Can't create Camera, no scene or no scene manager given."); 56 56 57 57 this->camera_ = this->getScene()->getSceneManager()->createCamera(getUniqueNumberString()); -
code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleEmitter.cc
r2161 r2162 51 51 52 52 if (!this->getScene() || !this->getScene()->getSceneManager()) 53 throw AbortLoadingException("Can't create Camera, no scene or no scene manager given.");53 ThrowException(AbortLoading, "Can't create Camera, no scene or no scene manager given."); 54 54 55 55 this->particles_ = 0; -
code/branches/objecthierarchy/src/orxonox/objects/worldentities/WorldEntity.cc
r2161 r2162 54 54 55 55 if (!this->getScene() || !this->getScene()->getRootSceneNode()) 56 throw AbortLoadingException("Can't create WorldEntity, no scene or no root-scenenode given.");56 ThrowException(AbortLoading, "Can't create WorldEntity, no scene or no root-scenenode given."); 57 57 58 58 this->node_ = this->getScene()->getRootSceneNode()->createChildSceneNode();
Note: See TracChangeset
for help on using the changeset viewer.