Fix message
parent
f3170a96ba
commit
37e1fb9cd7
|
@ -664,7 +664,7 @@ void glTF2Importer::ImportMeshes(glTF2::Asset &r) {
|
||||||
aim->mFaces = faces;
|
aim->mFaces = faces;
|
||||||
const unsigned int actualNumFaces = static_cast<unsigned int>(facePtr - faces);
|
const unsigned int actualNumFaces = static_cast<unsigned int>(facePtr - faces);
|
||||||
if (actualNumFaces < nFaces) {
|
if (actualNumFaces < nFaces) {
|
||||||
ASSIMP_LOG_WARN("Some faces in mesh had out-of-range indices. Those faces were dropped.");
|
ASSIMP_LOG_WARN("Some faces had out-of-range indices. Those faces were dropped.");
|
||||||
}
|
}
|
||||||
if (actualNumFaces == 0)
|
if (actualNumFaces == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue