- Timestamp:
- Dec 10, 2008, 3:37:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Camera.cc
r2361 r2369 54 54 { 55 55 RegisterObject(Camera); 56 56 COUT(0) << this << ": created camera" << std::endl; 57 57 if (!this->getScene() || !this->getScene()->getSceneManager()) 58 58 ThrowException(AbortLoading, "Can't create Camera, no scene or no scene manager given."); … … 70 70 this->configvaluecallback_changedNearClipDistance(); 71 71 72 this->requestFocus(); // ! HACK ! REMOVE THIS !72 // this->requestFocus(); // ! HACK ! REMOVE THIS ! 73 73 } 74 74 … … 80 80 this->getScene()->getSceneManager()->destroyCamera(this->camera_); 81 81 } 82 COUT(0) << this << ": destroyed camera" << std::endl; 82 83 } 83 84 … … 122 123 void Camera::removeFocus() 123 124 { 125 COUT(0) << this << ": remove focus" << std::endl; 124 126 this->bHasFocus_ = false; 125 127 } … … 142 144 this->bHasFocus_ = true; 143 145 viewport->setCamera(this->camera_); 146 COUT(0) << this << ": set focus" << std::endl; 144 147 145 148 // reactivate all visible compositors
Note: See TracChangeset
for help on using the changeset viewer.