Re: [osg-users] Threading problems when setting up viewer window

2008-03-05 Thread Paul Melis
Hello Robert, Robert Osfield wrote: >This suggests that display being used is the incorrect one for the >thread you are doing it from. This is something >osgViewer::GraphicsWindowX11 should manage internally though, so this >is a bug that needs to be better solved than it is now. A proper fix >

Re: [osg-users] Threading problems when setting up viewer window

2008-03-04 Thread Robert Osfield
HI Paul, This suggests that display being used is the incorrect one for the thread you are doing it from. This is something osgViewer::GraphicsWindowX11 should manage internally though, so this is a bug that needs to be better solved than it is now. A proper fix will need to better manage the tw

[osg-users] Threading problems when setting up viewer window

2008-03-04 Thread Paul Melis
I'm using the code below to give the viewer window a specific size at startup (for movie capturing purposes). See the attached file based on applications/osgviewer.cpp, to which I added this piece of code. ... viewer.realize(); osgViewer::Viewer::Windows windows; viewer.getWindows(wi