From Laurens Voerman, "I experienced a crash in Geometry::fixDeprecatedData(), on certain files, and brought the problem down to a very simple test file, attached as test3.zip.
From Laurens Voerman, "I experienced a crash in Geometry::fixDeprecatedData(), on certain files, and brought the problem down to a very simple test file, attached as test3.zip.

There are two problems:
1> for DrawElementsUShortPrimitiveType (and UInt) the source_pindex still equals -1 and causes a crash
     in DrawElementsUBytePrimitiveType source_pindex is incremented, and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is incremented, but never used

2> The drawelements need to be rewritten as the vertices are reordered.

created a patch for osg stable branch(r14038): attached as Geometry-osg-3.2.zip
and for svn brach(r14044): attached as Geometry_osg_svn.zip"


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