I am using OSG & osgEarth in my Qt application. When I use ON_DEMAND, it does 
not always repaint when I would expect it to. The easiest way to describe this 
would be as follows (I have seen several variations to this, but believe they 
are all related):

1) Open up the application using osgEarth in ON_DEMAND mode.
2) Wait until no painting is being done.
3) Open up Task Manager and drag it around the application in #1.
4) You will see the task manager window everywhere it was dragged.
5) As soon as the mouse or keyboard causes an update, the view is fixed.

It almost seems that somewhere a message is being ignored. Okay, maybe ignored 
is not the right word . . . handled??? For example, maybe a paintEvent is 
triggered in Qt because of a rectangle or region has become invalid. I found a 
way to fix this by forcing frame() to be called if the rect() is different than 
the graphics window. Is there a more elegant way of doing this??? Is this 
actually a bug in OSG or osgEarth?

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





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

Reply via email to