[osg-users] how to use StateSetManipulator in mfc?

forest37 forest37 at 163.com
Mon Jul 7 20:40:53 PDT 2008


 
 hi all,
     when i use StateSetManipulator in mfc like this:
    mViewer->addEventHandler( new osgGA::StateSetManipulator(mViewer->getCamera()->getOrCreateStateSet()) );
 
     It's ok when the program runs,but when the program is closed ,it encounters an error at 
     void __CLR_OR_THIS_CALL _Container_base::_Orphan_all() in file xutility which is a mfc src file.
 
     anyone meets such problem? 
 
forest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080708/30e87410/attachment-0002.htm>


More information about the osg-users mailing list