Hi Robert,
I had a look at the code in osg::Geometry. The lines in question
are:
if ( handleVertexAttributes )
{
for(unsigned int index = 0; index < _vertexAttribList.size(); ++index)
{
const Array* array = _vertexAttribList[index].get();
if (array && array->getBinding()==osg::Array::BIND_PER_VERTEX)
{
vas->setVertexAttribArray(state, index, array);
}
}
}
Do you remember, why the condition
getBinding() == BIND_PER_VERTEX
is there?
But(!) the same condition is at _normalArray, _colorArray
etc. and they are handled correct with BIND_OVERALL.
I don't understand what is really done there. Sorry.