Hi Mathias, Could you back out a little and explain what you think is going on right now, and what you think should be happening and why, I'm afraid my brain doesn't work well with just a diff output.
Robert. On Tue, Mar 4, 2008 at 12:49 PM, Mathias Froehlich <[EMAIL PROTECTED]> wrote: > > Hi Robert, > > I am not sure about that, but to make cull setting inheritance for cameras > work, I would think that we should use the cameras inheritance mask to decide > which settings are innherited rather than the cull visitors inheritance mask? > > That is: > Shouldn't the following change be applied to the cull visitor? > > Index: OpenSceneGraph/src/osgUtil/CullVisitor.cpp > =================================================================== > --- OpenSceneGraph/src/osgUtil/CullVisitor.cpp (revision 7906) > +++ OpenSceneGraph/src/osgUtil/CullVisitor.cpp (working copy) > @@ -1156,7 +1156,7 @@ > CullSettings saved_cull_settings(*this); > > // activate all active cull settings from this Camera > - inheritCullSettings(camera); > + inheritCullSettings(camera, camera.getInheritanceMask()); > > // set the cull mask. > unsigned int savedTraversalMask = getTraversalMask(); > > Greetings > > Mathias > > -- > Dr. Mathias Fröhlich, science + computing ag, Software Solutions > Hagellocher Weg 71-75, D-72070 Tuebingen, Germany > Phone: +49 7071 9457-268, Fax: +49 7071 9457-511 > -- > Vorstand/Board of Management: > Dr. Bernd Finkbeiner, Dr. Florian Geyer, > Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech > Vorsitzender des Aufsichtsrats/ > Chairman of the Supervisory Board: > Prof. Dr. Hanns Ruder > Sitz/Registered Office: Tuebingen > Registergericht/Registration Court: Stuttgart > Registernummer/Commercial Register No.: HRB 382196 > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org