From Paul Martz, "Regarding the osg-users thread "mergeGeodes crash", I'm submitting this for consideration as a fix for the problem with the FlattenStaticTransformsVisitor. It seems that the additional nested loop over the Transform's parent was not needed. I'm not sure why it was there, and if it really was unnecessary, then it has probably been resulting in many redundant Nodes for quite some time. Perhaps this fix will result in a cull- and draw-time performance boost."
From Paul Martz, "Regarding the osg-users thread "mergeGeodes crash", I'm submitting this for consideration as a fix for the problem with the FlattenStaticTransformsVisitor. It seems that the additional nested loop over the Transform's parent was not needed. I'm not sure why it was there, and if it really was unnecessary, then it has probably been resulting in many redundant Nodes for quite some time. Perhaps this fix will result in a cull- and draw-time performance boost."

From Robert Osfield, added copying of the UserData and Descriptions from the transform to the new group.



jtorresfabra/osg,scrawl/osg,artoolkit/osg,marchelbling/osg,scrawl/osg,openscenegraph/osg,artoolkit/osg,artoolkit/osg,marchelbling/osg,tomasthoresen/osg,openscenegraph/osg,openscenegraph/osg,jtorresfabra/osg,tomasthoresen/osg,openscenegraph/osg,tomasthoresen/osg,jtorresfabra/osg,marchelbling/osg,scrawl/osg,scrawl/osg,marchelbling/osg,tomasthoresen/osg,jtorresfabra/osg,artoolkit/osg