Ignore:
Timestamp:
Feb 13, 2011, 6:08:42 PM (13 years ago)
Author:
Torben Dannhauer
Message:

Reloaced eventhandler and manipulator in a dedicated manipulator and tracking class (preparation for automatic tracking by extLink)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/src/dataIO/visual_dataIO.cpp

    r221 r231  
    6262        //// EventCallback at the absolute beginning of the frame
    6363        eventCallback = new dataIO_eventCallback(this);
    64         viewer->getCamera()->setEventCallback( eventCallback );
     64        viewer->getCamera()->addEventCallback( eventCallback );
    6565        //// FinalDrawCallback at the end of event and update handling, but BEFORE rendering the frame
    6666        finalDrawCallback = new dataIO_finalDrawCallback(this);
Note: See TracChangeset for help on using the changeset viewer.