Hi Paul,
J-S -- Good catch on the Optimizer issue, dropping the DescriptionList of StateSets when they become shared. Seems like a possible bug. Unexpected behavior, at the least. After all, the word "DUPLICATE" is in the name of the flag.
That's semantics :-) It may be argued that the Optimizer is concerned with improving rendering performance, so checking the descriptions to decide if two statesets are duplicates might not make sense. I guess that's why StateSet doesn't have an operator== which could be used for this purpose - it would be too general, and in the case of Optimizer we just want to consider certain attributes when doing the comparison.
I think the current behavior is OK, but should be documented :-) J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

