Remove dead code

This commit is contained in:
Kim Kulling
2020-06-09 10:07:25 +02:00
committed by GitHub
parent 5c7bed01f1
commit 35fb4c9370

View File

@@ -375,7 +375,6 @@ void STLImporter::LoadASCIIFile(aiNode *root) {
pMesh->mVertices[i].y = positionBuffer[i].y;
pMesh->mVertices[i].z = positionBuffer[i].z;
}
//memcpy(pMesh->mVertices, &positionBuffer[0].x, pMesh->mNumVertices * sizeof(aiVector3D));
positionBuffer.clear();
}
// also only process normalBuffer when filled, else exception when accessing with index operator