Show
Ignore:
Timestamp:
03/18/10 18:10:48 (5 years ago)
Author:
robert
Message:

Added StateSet? event handler to osgfont and osgtext to aid with debugging

Files:
1 modified

Legend:

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

    r7875 r11250  
    2323#include <osgDB/Registry> 
    2424 
     25#include <osgGA/StateSetManipulator> 
    2526#include <osgViewer/Viewer> 
    2627#include <osgViewer/ViewerEventHandlers> 
     
    702703#endif 
    703704 
     705    viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); 
    704706    viewer.addEventHandler(new osgViewer::StatsHandler()); 
    705707