Thanks for the fixes Laurens, now merged and submitted to svn/trunk and OSG-3.2 branch. Cheers, Robert.
On 24 January 2014 16:40, Laurens Voerman <[email protected]> wrote: > Hi Robert, > 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 > > both contain a modified version of > OpenSceneGraph\src\osg\Geometry.cpp > > osg Stable (3.2) version tested with windows VS2012. > > Regards, Laurens. > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
