[osg-submissions] Change to StateSet::merge() treatment of RenderBin state

Paul Martz pmartz at skew-matrix.com
Tue May 13 17:14:35 PDT 2008


Hi Robert -- 
 
The attached code changes StateSet::merge() so that it copies RenderBin data
such as the rendering hint and RenderBin details from rhs into "this", only
if "this" has RenderBin mode set to INHERIT.
 
It replaces a comment by you indicating something along these lines should
be done. To me, this seems like the right thing to do.
 
Thanks,
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
+1 303 859 9466
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080513/37f8b71e/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: StateSet.cpp
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080513/37f8b71e/attachment-0001.txt>


More information about the osg-submissions mailing list