parent
7eec2cd02c
commit
55d22c28be
|
@ -177,7 +177,7 @@ void SortByPTypeProcess::Execute(aiScene *pScene) {
|
||||||
// with the largest number of primitives
|
// with the largest number of primitives
|
||||||
unsigned int aiNumPerPType[4] = { 0, 0, 0, 0 };
|
unsigned int aiNumPerPType[4] = { 0, 0, 0, 0 };
|
||||||
aiFace *pFirstFace = mesh->mFaces;
|
aiFace *pFirstFace = mesh->mFaces;
|
||||||
if (!pFirstFace) {
|
if (pFirstFace == nullptr) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue