Update TriangulateProcess.cpp

fix typo
pull/5685/head
Kim Kulling 2024-07-23 16:17:33 +02:00 committed by GitHub
parent a8466aecd8
commit 6507282afc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ bool TriangulateProcess::TriangulateMesh( aiMesh* pMesh) {
}
// Just another check whether aiMesh::mPrimitiveTypes is correct
if (numOut != pMesh->mNumFaces) {
if (numOut == pMesh->mNumFaces) {
ASSIMP_LOG_ERROR( "Invalidation detected in the number of indices: does not fit to the primitive type." );
return false;
}