- Timestamp:
- Dec 14, 2008, 9:36:26 PM (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
r2437 r2449 43 43 #include "CameraManager.h" 44 44 45 // REMOVE THIS AS SOON AS THE SERVER CAN HANDLE DESTRUCTION OF OBJECTS WITH OBJECTMODE 0x046 #include "core/Core.h" //--------------------------------------47 //----------------------------------------------------------------------------------------48 49 45 namespace orxonox 50 46 { … … 65 61 this->nearClipDistance_ = 1; 66 62 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); 63 this->setObjectMode(0x0); 71 64 72 65 this->setConfigValues(); -
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/CameraPosition.cc
r2437 r2449 34 34 #include "Camera.h" 35 35 36 // REMOVE THIS AS SOON AS THE SERVER CAN HANDLE DESTRUCTION OF OBJECTS WITH OBJECTMODE 0x037 #include "core/Core.h" //--------------------------------------38 //----------------------------------------------------------------------------------------39 40 36 namespace orxonox 41 37 { … … 48 44 this->bDrag_ = false; 49 45 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); 46 this->setObjectMode(0x0); 54 47 } 55 48
Note: See TracChangeset
for help on using the changeset viewer.