The problem seems to be here:

osg130-osgGAd.dll!osgGA::EventQueue::clear()  Line 37   C++
osg130-osgGAd.dll!osgGA::EventQueue::setStartTick(__int64 tick)  Line 212 + 
0x25 bytes  C++
osg130-osgViewerd.dll!osgViewer::CompositeViewer::setStartTick(__int64 tick)  
Line 355 + 0x1d bytes     C++
osg130-osgViewerd.dll!osgViewer::CompositeViewer::realize()  Line 646 + 0x31 
bytes      C++
osg130-osgViewerd.dll!osgViewer::ViewerBase::frame(double simulationTime)  Line 
678 + 0xf bytes C++
osgWidgetsTest.exe!ViewerWidget::paintEvent(QPaintEvent * event)  Line 154 + 
0x46 bytes C++

The first time a paint event is called, the eventqueue is cleaned up (see 
EventQueue::clear()) and the RESIZE event with correct width and height 
unavoidably lost!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66831#66831





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to