Hi LiChi & Jannik, Well spotted, this is indeed a bug, I've now merged Jannik's fix for this to git master and 3.2 and 3.4 branches.
Robert On 26 November 2016 at 00:14, Jannik Heller <[email protected]> wrote: > Hi LiChi, > > You are correct, this is a mistake that needs to be fixed, the following > for-loop is not even executed unless checkForGLErrors is true. > > In fact, I've just spent an hour or so debugging a weird "Invalid operation" > GL-error and it turned out to be caused by exactly this bug - the StateSet > not compiling its state was causing the useProgram() in the GLObjectVisitor > to fail as the program had not been compiled as expected. > > I've submitted a fix for this here: > https://github.com/openscenegraph/OpenSceneGraph/pull/169 > > Cheers, > Jannik > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=69505#69505 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

