From 8dcabeae72e1481bf7da6d6792f27ebd46a48b76 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Fri, 14 Sep 2018 18:28:03 +0800 Subject: [PATCH] Fix build --- src/meshgenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshgenerator.cpp b/src/meshgenerator.cpp index 1823aa9c..cea80b85 100644 --- a/src/meshgenerator.cpp +++ b/src/meshgenerator.cpp @@ -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;