Fix build

master
Jeremy Hu 2018-09-06 23:29:26 +08:00
parent 3c2d4f7480
commit 0bf64eeb2d
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ void *MeshGenerator::combineComponentMesh(QString componentId, bool *inverse)
std::vector<QVector3D> positionsAfterSmooth; std::vector<QVector3D> positionsAfterSmooth;
loadMeshVerticesPositions(m_meshliteContext, meshIdForSmooth, positionsAfterSmooth); loadMeshVerticesPositions(m_meshliteContext, meshIdForSmooth, positionsAfterSmooth);
assert(positionsBeforeSmooth.size() == positionsAfterSmooth.size()); Q_ASSERT(positionsBeforeSmooth.size() == positionsAfterSmooth.size());
for (size_t vertexIndex = 0; vertexIndex < positionsBeforeSmooth.size(); vertexIndex++) { for (size_t vertexIndex = 0; vertexIndex < positionsBeforeSmooth.size(); vertexIndex++) {
const auto &oldPosition = positionsBeforeSmooth[vertexIndex]; const auto &oldPosition = positionsBeforeSmooth[vertexIndex];