From Colin MacDonald,"The Optimizer Merge Geometry visitor is always merging geometries, even if they have had DataVariance DYNAMIC explicitly specified.  Then when an application attempts to dynamically update the geometry in the frame loop the primitive sets and data arrays are no longer as expected, leading to display and/or memory corruption.
From Colin MacDonald,"The Optimizer Merge Geometry visitor is always merging geometries,
even if they have had DataVariance DYNAMIC explicitly specified.  Then
when an application attempts to dynamically update the geometry in the
frame loop the primitive sets and data arrays are no longer as
expected, leading to display and/or memory corruption.

Attached is a simple fix. "

Note from Robert Osfield, tweaked Colin's changes to that it use != DYNAMIC as the the test rather than == STATIC.



omega-hub/osg,artoolkit/osg,stmh/osg,stmh/osg,ghub/osg,XiaoCC/osg,ntoand/osg,ntoand/osg,XiaoCC/osg,stmh/osg,stmh/osg,koshman86/osg,omega-hub/osg,XiaoCC/osg,XiaoCC/osg,omega-hub/osg,ntoand/osg,ghub/osg,artoolkit/osg,ntoand/osg,ghub/osg,XiaoCC/osg,artoolkit/osg,artoolkit/osg,koshman86/osg,omega-hub/osg,koshman86/osg,ghub/osg,koshman86/osg,stmh/osg