Changeset 10667 in orxonox.OLD for branches/vs-enhencements/src/world_entities/space_ships
- Timestamp:
- Jun 1, 2007, 12:01:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc
r10662 r10667 571 571 if (!(State::getCamera()->getEventHandling())) 572 572 { 573 //PRINTF(0)("\n\n\n\n\n\n\n\nSETCAMERA %x\n\n\n\n\n\n\n", State::getCamera()); 573 574 if( event.type == KeyMapper::PEV_VIEW0) 574 575 { … … 851 852 //State::getCameraTargetNode()->setParentSoft(this); 852 853 //State::getCameraTargetNode()->setRelCoorSoft(0,0,0); 853 this->setCameraMode(Camera::ViewNormal);854 //this->setCameraMode(Camera::ViewNormal); 854 855 State::getCamera()->setEventHandling(false); 856 857 PRINTF(0)("\n\n\n\n\n\n\n\nSETCAMERA %x\n\n\n\n\n\n\n", State::getCamera()); 858 State::getCamera()->setViewMode(Camera::ViewNormal); 859 State::getCameraTargetNode()->setParent(this); 860 State::getCamera()->setParent(this); 861 862 863 855 864 registerEvent(KeyMapper::PEV_VIEW0); 856 865 registerEvent(KeyMapper::PEV_VIEW1);
Note: See TracChangeset
for help on using the changeset viewer.