You are welcome, Robert. And thank you for providing a patch. It worked like a charm! :-)
Yes you may suggest upgrading to 3.2 ;-). It is indeed a good time since we have shipped our product to the customer and it will be a while until the next release. We are using osgEarth, osgBullet (and thus osgWorks) so we have a lot of rebuilding ahead of us, though. Thank you, Michael On Thu, Jan 23, 2014 at 10:44 AM, Robert Osfield <robert.osfi...@gmail.com>wrote: > Thanks for the example Michael. Using this example I recreated the > problem with svn/trunk and fixed it by adding a clean up of an osg::Program > that are applied during the GLObjectVisitor traversal. I have checked the > fix into svn/trunk and OSG-3.2 branch. I have also attached a diff file of > the changes. Might I suggest this would be a good time to try out the > OSG-3.2 branch or svn/trunk :-) > > > On 23 January 2014 07:46, Michael Bach Jensen <mich...@ifad.dk> wrote: > >> Hi Robert and Nick, >> >> It does very much look like a missing cleanup after compilation. >> >> The following things need to be present: >> - a geometry shader >> - a uniform >> - rendering the node using the above after an object that is not >> compatible with the shader program. >> >> I have attached a modified version of osgshape.cpp that causes the >> failure. >> >> Thank you for looking into it! >> >> Cheers, >> Michael >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=57961#57961 >> >> >> >> >> _______________________________________________ >> 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 > > -- /Michael
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org