1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-01 13:09:42 +00:00

Remove leftover call to setTexCoordArrayList

This commit is contained in:
scrawl 2016-03-23 22:56:04 +01:00
parent cc0afe901f
commit 8052225460

View file

@ -106,7 +106,6 @@ void RigGeometry::setSourceGeometry(osg::ref_ptr<osg::Geometry> sourceGeometry)
if (texCoordList[i]) if (texCoordList[i])
setTexCoordArray(i, texCoordList[i], osg::Array::BIND_PER_VERTEX); setTexCoordArray(i, texCoordList[i], osg::Array::BIND_PER_VERTEX);
setTexCoordArrayList(from.getTexCoordArrayList());
setVertexAttribArrayList(from.getVertexAttribArrayList()); setVertexAttribArrayList(from.getVertexAttribArrayList());
// vertices and normals are modified every frame, so we need to deep copy them. // vertices and normals are modified every frame, so we need to deep copy them.