Thanks Giuseppe, well spotted, this is indeed a decimal vs hex typo, I've
fixed the enum to set CLEAR_GLOBAL_STATESET to 0x10 and checked this into
svn/trunk and OSG-3.2 branch.


On 10 September 2013 11:15, Giuseppe Donvito <[email protected]>wrote:

> Hi,
> I went crazy on why my app based on OSG 320 thrown away the Camera global
> settings when I used osgViewer::View::addSlave.
> Finally I found what seems a typo in the following enumerator (file
> SceneView, row 54):
> enum Options
> {
> NO_SCENEVIEW_LIGHT = 0x0,
> HEADLIGHT = 0x1,
> SKY_LIGHT = 0x2,
> COMPILE_GLOBJECTS_AT_INIT = 0x4,
> APPLY_GLOBAL_DEFAULTS = 0x8,
> CLEAR_GLOBAL_STATESET = 0x16,
>
> the CLEAR_GLOBAL_STATESET is set to "0x16". Is this your intent or the
> right value is 0x10 for correct bitwise operations?
>
> Cheers,
>  Giuseppe
>
> _______________________________________________
> 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

Reply via email to