Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10461 in orxonox.OLD for trunk/src/world_entities/cameraman.cc


Ignore:
Timestamp:
Jan 28, 2007, 9:36:39 PM (18 years ago)
Author:
patrick
Message:

small change in camera.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/cameraman.cc

    r10441 r10461  
    160160  BaseObject* newCam = ObjectListBase::getBaseObject("Camera", camName);
    161161  if( object != NULL && newCam != NULL && object->isA(PNode::staticClassID()))
     162  {
    162163    dynamic_cast<Camera*>(newCam)->lookAt(dynamic_cast<PNode*>(object));
     164    State::setCamera();
     165  }
    163166}
    164167
Note: See TracChangeset for help on using the changeset viewer.