Hi Juilien, I haven't looked at the changes yet as I'm mid reviewing other code, but thought I'd get a quick reply as the issue you described sounds like it might stem from elsewhere. It's normal for the OSG to crash if you just modify stuff, if elements are changed then existing mechanisms should get things updated correctly, forcing a compile isn't something that should be required.
Could you provide details on the crash (ie.e. stack trace) and the usage case that provokes the crash. Robert. On 21 June 2016 at 13:30, Julien Valentin <[email protected]> wrote: > Hi, > > I'm using a runtime osg editor and found out that osg::Geometry is now really > meaned for this kind of usage: it often crash when i modify Geometry at > runtime. > It's mainly due to the compileGLObjects not being rerun > > So I added: > -a percontext dirty flag in order to rerun compilation if Geometry is modified > -and also a loop on primset in compileObject in order to compile associated > bufferobject if required > > Please, tell me what you think of this design > > Thank you! > > Cheers, > Julien > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=67714#67714 > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
