Changeset 10597 in orxonox.OLD for branches/cleanup/src/world_entities/tools
- Timestamp:
- Feb 15, 2007, 8:57:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cleanup/src/world_entities/tools/cameraman.cc
r10596 r10597 114 114 { 115 115 camera->lookAt(dynamic_cast<PNode*>(object)); 116 if( camera == State::getCamera() ) // If it is the current cam, we have to update the target117 State::setCamera( camera, camera->getTarget());118 116 return; 119 117 } … … 139 137 camera->target->atach(dynamic_cast<PNode*>(object)); 140 138 camera->setViewMode(Camera::ViewNormal); 141 if( camera == State::getCamera() ) // If it is the current cam, we have to update the target142 State::setCamera( camera, camera->getTarget());143 139 return; 144 140 }
Note: See TracChangeset
for help on using the changeset viewer.