From b09df89da2583ed6299bccaca4b33cedfb15ab10 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 19 May 2019 13:08:20 +0930 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 adfac26d..011b1e41 100644 --- a/src/meshgenerator.cpp +++ b/src/meshgenerator.cpp @@ -192,7 +192,7 @@ nodemesh::Combiner::Mesh *MeshGenerator::combinePartMesh(const QString &partIdSt float radius = valueOfKeyInMapOrEmpty(node, "radius").toFloat(); float x = (valueOfKeyInMapOrEmpty(node, "x").toFloat() - m_mainProfileMiddleX); float y = (m_mainProfileMiddleY - valueOfKeyInMapOrEmpty(node, "y").toFloat()); - cutFaceNodeMap.insert({nodeIdString, {radius, x, y}}); + cutFaceNodeMap.insert({nodeIdString, std::make_tuple(radius, x, y)}); } // Build edge link std::map> cutFaceNodeLinkMap;