Hi Laurens,
On 21 December 2016 at 08:45, Voerman, L. <[email protected]> wrote:
> I created a pull request for the master branch (link).
Thanks for the fix. I've reviewed it and decided that it would be
more in keeping with how osgViewer::View's master Camera() sets it's
StateSet::setGlobalStateSet() to do the same with the StatsHandler, so
I've added a:
_camera->getOrCreateStateSet()->setGlobalDefaults();
To the StatsHandler constructor. I've checked this into git master,
3.4 and 3.2 branches.
I have tested this with Riccardo's modified osgviewer.cpp and it works
properly once this fix is applied.
Thanks to both of you for your help homing and fixing this long standing bug.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org