Hi Robert, On Wed, Sep 19, 2012 at 8:46 AM, Robert Osfield <[email protected]>wrote: > > I've done a quick review and I'm inclined to think that the > GLBeginEndAdapter needs to have another two flags that specify whether > the _overallNormal and _overallColor have been set and if not then > don't call _state.Normal(..) etc. >
That seems like a good solution. This flag will probably need to be reset before each draw though. I noticed "ArrayDispatchers::reset" is called before each draw, so this might be the place to clear such flags. Would you like me to go ahead and implement the patch, or do you have it covered? Cheers, Farshid > Thoughts? > Robert. > _______________________________________________ > 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
