Changeset 1730 for code/branches/network/src/orxonox
- Timestamp:
- Sep 7, 2008, 3:30:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/objects/SpaceShip.cc
r1669 r1730 244 244 this->chFarNode_->setScale(0.4, 0.4, 0.4); 245 245 } 246 // END of testing crosshair 246 247 247 248 createCamera(); 248 // END of testing crosshair249 249 } 250 250 … … 322 322 this->setBacksync(true); 323 323 //CameraHandler::getInstance()->requestFocus(cam_); 324 if(this->isExactlyA(Class(SpaceShip))) 324 if(this->isExactlyA(Class(SpaceShip))){ 325 325 getFocus(); 326 } 326 COUT(3) << "getting focus for obj id: " << objectID << std::endl; 327 }else 328 COUT(3) << "not getting focus (not exactly spaceship) for obj id: " << objectID << std::endl; 329 }else 330 COUT(3) << "not getting focus (not my ship) for obj id: " << objectID << std::endl; 327 331 328 332 }
Note: See TracChangeset
for help on using the changeset viewer.