Re: [osg-users] Possible issue in _computeCorrectBindingsAndArraySizes (2.8.2)

2010-05-20 Thread Robert Osfield
Hi Andrew, Yep this sounds like a bug, feel free to work and submit and fix to osg-submissions :-) Robert. On Thu, May 20, 2010 at 5:29 PM, Andrew Cunningham wrote: > Hi, > There is some code in the _computeCorrectBindingsAndArraySizes (below) that > assumes it is impossible to have numElement

[osg-users] Possible issue in _computeCorrectBindingsAndArraySizes (2.8.2)

2010-05-20 Thread Andrew Cunningham
Hi, There is some code in the _computeCorrectBindingsAndArraySizes (below) that assumes it is impossible to have numElements==numVertices in the normal array and , for example, be BIND_PER_PRIMITIVE. The code resets to BIND_PER_VERTEX. Consider a series of triangle primitives making a "strip"