Fix compile error that clang caught.

pull/2117/head
Joe Schutte 2018-09-03 13:22:46 -07:00
parent 78fe5e7f04
commit 640698ba57
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ void ObjFileImporter::CreateDataFromImport(const ObjFile::Model* pModel, aiScene
unsigned int childCount = 0;
for(size_t index = 0; index < pModel->m_Objects.size(); ++index) {
if(pModel->m_Objects[index] > 0) {
if(pModel->m_Objects[index]) {
++childCount;
meshCount += (unsigned int)pModel->m_Objects[index]->m_Meshes.size();
}