Show
Ignore:
Timestamp:
09/09/10 11:47:31 (4 years ago)
Author:
robert
Message:

From Jean-Sebastien Guay, "I've added a second ctor where no argument is optional, and documented that it's meant to be used when the InteractiveImage? is going to be used in a fullscreen HUD.
"

Files:
1 modified

Legend:

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

    r11610 r11744  
    419419            root->addChild(overlay); 
    420420 
    421             osgViewer::InteractiveImageHandler* handler = new osgViewer::InteractiveImageHandler(widgetImage.get(), camera); 
     421            osgViewer::InteractiveImageHandler* handler = new osgViewer::InteractiveImageHandler(widgetImage.get(), texture, camera); 
    422422            quad->setEventCallback(handler); 
    423423            quad->setCullCallback(handler);