diff --git a/src/osgPlugins/md2/ReaderWriterMD2.cpp b/src/osgPlugins/md2/ReaderWriterMD2.cpp index 167de6d93..b2c8fc348 100644 --- a/src/osgPlugins/md2/ReaderWriterMD2.cpp +++ b/src/osgPlugins/md2/ReaderWriterMD2.cpp @@ -379,7 +379,7 @@ load_md2 (const char *filename, const osgDB::ReaderWriter::Options* options) geom->setTexCoordArray (0, texCoords); geom->setTexCoordIndices (0, texIndices); - geom->setNormalArray (g_md2NormalsArray); + geom->setNormalArray (normalCoords); geom->setNormalIndices (normalIndices); geom->setNormalBinding (osg::Geometry::BIND_PER_VERTEX);