delete[] doesnt set nullptr
parent
2d74514eab
commit
d5c9b27af8
|
@ -104,5 +104,6 @@ bool DropFaceNormalsProcess::DropMeshFaceNormals (aiMesh* pMesh) {
|
|||
}
|
||||
|
||||
delete[] pMesh->mNormals;
|
||||
pMesh->mNormals = nullptr;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue