Hi,

Did you noticed that CMFC_OSG_MDIView::OnEraseBkgnd in the
osgviewerMFC example is never called, hence leading to flickering?
This is with OSG 3.2.1.
I don't know when this regression was introduced, as it seems that
OnEraseBkgnd was correctly working with OSG 2.x [1].
I can however tell you that it relates to the inherited window data.
Indeed, simply commenting the traits->inheritedWindowData = windata;
line in cOSG::InitCameraConfig in MFC_OSG.cpp file makes
CMFC_OSG_MDIView::OnEraseBkgnd being called again. But of course, the
OSG rendering will be wrong.

     Émeric


[1] 
http://lists.openscenegraph.org/htdig.cgi/osg-users-openscenegraph.org/2007-August/134798.html
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to