Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10597 in orxonox.OLD


Ignore:
Timestamp:
Feb 15, 2007, 8:57:47 AM (17 years ago)
Author:
snellen
Message:

removed obsolete State:setCamera

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/tools/cameraman.cc

    r10596 r10597  
    114114  {
    115115    camera->lookAt(dynamic_cast<PNode*>(object));
    116     if( camera == State::getCamera() ) // If it is the current cam, we have to update the target
    117     State::setCamera( camera, camera->getTarget());
    118116    return;
    119117  }
     
    139137    camera->target->atach(dynamic_cast<PNode*>(object));
    140138    camera->setViewMode(Camera::ViewNormal);
    141     if( camera == State::getCamera() ) // If it is the current cam, we have to update the target
    142     State::setCamera( camera, camera->getTarget());
    143139    return;
    144140  }
Note: See TracChangeset for help on using the changeset viewer.