Hi all,
we adapted our software to the new Qt library, which is a good thing!
Testing it on various systems leads us to some problems. The programs crash
sometimes and we successfully catched the problem in the debuger.
The crash happens when QPainter and osg paint to the screen simultaneously in
two different threads.
But! We can assure that the frame() method is called in the gui thread and
setThreadingModel(osgViewer::Viewer::SingleThreaded);
is called in the constructor of the widget. Does anybody have an explanation
for that? Is osg creating its own painting thread even after setting it to
SingleThreaded?
Thanks for any hints.
- Werner -
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org