Hi Serge, I've just reviewed your change but on wider review of this method I've decided it's more appropriate to move the getStateSet() and other queries to inside the if (vertices) block as I can't see any value on return an intersection on an object that you can't get the proper tex coordinates for.
My changes are now checked into svn/trunk. Could you test it out please? Thanks, Robert. On Tue, Jan 18, 2011 at 11:08 AM, Serge Lages <[email protected]> wrote: > Hi Robert, > Here is a small fix for the InteractiveImageHandler preventing a crash when > no intersection was found with a geometry. > Cheers, > > -- > Serge Lages > http://www.tharsis-software.com > > _______________________________________________ > 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
