delete[] doesnt set nullptr

pull/2209/head
mnml_ 2018-11-08 12:49:35 +01:00 committed by GitHub
parent 2d74514eab
commit d5c9b27af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -104,5 +104,6 @@ bool DropFaceNormalsProcess::DropMeshFaceNormals (aiMesh* pMesh) {
}
delete[] pMesh->mNormals;
pMesh->mNormals = nullptr;
return true;
}