Hi Mathieu, I've tried your windows.ive and the suggested mods to osgviewerQT and it works fine even for running 6 viewers consecutively using osgviewerQT windows.ive, but if I add --QOSGWidget I get a crash on the second run.
FYI, I'm running under Linux. What command line are you using? Robert. On Mon, May 5, 2008 at 5:18 PM, Mathieu Champlon <[EMAIL PROTECTED]> wrote: > Hello, > > I'm facing a problem with the osg Qt integration on several different > Windows configurations (using NVidia GF 8600 cards, on both XP and Vista), > with osg 2.2.0 and osg 2.4.0. > > As a (short) example is better than a (long) explanation, here is how to > reproduce it : > 1. apply the following changes to examples/osgviewerQT/osgviewerQT.cpp > (basically the goal is to run the application twice) : > > 36c36 > < int main( int argc, char **argv ) > --- > > int run( int argc, char **argv ) > 57a58,63 > > } > > > > int main( int argc, char **argv ) > > { > > run( argc, argv ); > > run( argc, argv ); > > 2. run examples/osgviewerQT on windows.ive (from the attached windows.zip) > 3. notice the scene showing up : several window frames floating in the air > 4. close the window > 5. notice the trashed 'cubist' scene showing up the second time, indeed > quite different from the first time > > I can send the texture used in the .ive if needed, can it be a problem with > the way it has been created ? > > Any suggestion on how to investigate further ? > > Thanks ! > > MAT. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org