vtkOpenGLPolyDataMapper (OpenGL2, VTK 6.3): PrimitiveIDOffset is possibly incorrectly incremented
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In RenderPieceDraw, after drawing Tris, PrimitiveIDOffset is systematically incremented by this->Tris.IBO->IndexCount/3. However, I noticed that when in wireframe representation, IndexCount is generally not a multiple of 3.
I conjecture that in the wireframe case, we should divide by 2, and by 1 in the points case.
I don't have an example of this leading to a bug. I imagine you need a polydata containing both polys and strips to get adverse effects.