Changeset 2437 for code/branches/objecthierarchy2/src/orxonox
- Timestamp:
- Dec 14, 2008, 3:00:37 AM (16 years ago)
- Location:
- code/branches/objecthierarchy2/src/orxonox/objects/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Camera.cc
r2396 r2437 43 43 #include "CameraManager.h" 44 44 45 // REMOVE THIS AS SOON AS THE SERVER CAN HANDLE DESTRUCTION OF OBJECTS WITH OBJECTMODE 0x0 46 #include "core/Core.h" //-------------------------------------- 47 //---------------------------------------------------------------------------------------- 48 45 49 namespace orxonox 46 50 { … … 61 65 this->nearClipDistance_ = 1; 62 66 63 this->setObjectMode(0x0); 67 // REMOVE THIS AS SOON AS THE SERVER CAN HANDLE DESTRUCTION OF OBJECTS WITH OBJECTMODE 0x0 68 if (!Core::isMaster()) //--------------------------------------------------------- 69 //---------------------------------------------------------------------------------------- 70 this->setObjectMode(0x0); 64 71 65 72 this->setConfigValues(); 66 73 this->configvaluecallback_changedNearClipDistance(); 67 68 // this->requestFocus(); // ! HACK ! REMOVE THIS !69 74 } 70 75 -
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/CameraPosition.cc
r2087 r2437 34 34 #include "Camera.h" 35 35 36 // REMOVE THIS AS SOON AS THE SERVER CAN HANDLE DESTRUCTION OF OBJECTS WITH OBJECTMODE 0x0 37 #include "core/Core.h" //-------------------------------------- 38 //---------------------------------------------------------------------------------------- 39 36 40 namespace orxonox 37 41 { … … 44 48 this->bDrag_ = false; 45 49 46 this->setObjectMode(0x0); 50 // REMOVE THIS AS SOON AS THE SERVER CAN HANDLE DESTRUCTION OF OBJECTS WITH OBJECTMODE 0x0 51 if (!Core::isMaster()) //--------------------------------------------------------- 52 //---------------------------------------------------------------------------------------- 53 this->setObjectMode(0x0); 47 54 } 48 55
Note: See TracChangeset
for help on using the changeset viewer.