Fix build

master
Jeremy Hu 2018-09-14 18:28:03 +08:00
parent 360ed52a5c
commit 8dcabeae72
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void MeshGenerator::loadVertexSources(void *meshliteContext, int meshId, QUuid p
int i = 0;
while (i < filledLength) {
int num = faceVertexNumAndIndices[i++];
assert(num > 0 && num <= MAX_VERTICES_PER_FACE);
Q_ASSERT(num > 0 && num <= MAX_VERTICES_PER_FACE);
if (4 != num) {
i += num;
continue;