OpenGEX: fix review finding.

pull/821/head
Kim Kulling 2016-03-12 20:55:11 +01:00
parent b4b303ab55
commit 6ee5fdf567
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ void OpenGEXImporter::handleIndexArrayNode( ODDLParser::DDLNode *node, aiScene *
m_currentMesh->mNumVertices = numItems * 3;
m_currentMesh->mVertices = new aiVector3D[ m_currentMesh->mNumVertices ];
m_currentMesh->mNormals = new aiVector3D[ m_currentMesh->mNumVertices ];
m_currentMesh->mNumUVComponents[ 0 ] = numItems * 3;
m_currentMesh->mNumUVComponents[ 0 ] = m_currentMesh->mNumVertices;
m_currentMesh->mTextureCoords[ 0 ] = new aiVector3D[ m_currentMesh->mNumVertices ];
unsigned int index( 0 );