1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +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])
setTexCoordArray(i, texCoordList[i], osg::Array::BIND_PER_VERTEX);
setTexCoordArrayList(from.getTexCoordArrayList());
setVertexAttribArrayList(from.getVertexAttribArrayList());
// vertices and normals are modified every frame, so we need to deep copy them.