Show
Ignore:
Timestamp:
11/24/08 11:13:27 (6 years ago)
Author:
robert
Message:

Updated wrappers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgvnc/osgvnc.cpp

    r9090 r9221  
    3232                osg::StateAttribute::ON); 
    3333                 
    34     pictureQuad->setEventCallback(new osgViewer::InteractiveImageHandler(image)); 
     34     
     35                 
     36    osg::ref_ptr<osgViewer::InteractiveImageHandler> callback = new osgViewer::InteractiveImageHandler(image); 
     37 
     38    pictureQuad->setEventCallback(callback.get()); 
     39    pictureQuad->setCullCallback(callback.get()); 
    3540 
    3641    osg::Geode* geode = new osg::Geode;