This commit is contained in:
Robert Osfield
2013-06-28 08:11:46 +00:00
parent 775c1443eb
commit f2c1a7597c

View File

@@ -193,6 +193,8 @@ void Geometry::setVertexAttribArray(unsigned int index, Array* array, osg::Array
if (_vertexAttribList.size()<=index)
_vertexAttribList.resize(index+1);
if (array && binding!=osg::Array::BIND_UNDEFINED) array->setBinding(binding);
_vertexAttribList[index] = array;
dirtyDisplayList();