diff --git a/src/meshgenerator.cpp b/src/meshgenerator.cpp index d53efbe4..a9705a52 100644 --- a/src/meshgenerator.cpp +++ b/src/meshgenerator.cpp @@ -286,10 +286,10 @@ nodemesh::Combiner::Mesh *MeshGenerator::combinePartMesh(const QString &partIdSt if (cutFaceVisitedNodeIds.find(fromNodeIdString) != cutFaceVisitedNodeIds.end()) return; cutFaceVisitedNodeIds.insert(fromNodeIdString); - cutFaceNodes.push_back({std::get<0>(findCutFaceNode->second), + cutFaceNodes.push_back(std::make_tuple(std::get<0>(findCutFaceNode->second), std::get<1>(findCutFaceNode->second), std::get<2>(findCutFaceNode->second), - fromNodeIdString}); + fromNodeIdString)); auto findNeighbor = cutFaceNodeLinkMap.find(fromNodeIdString); if (findNeighbor == cutFaceNodeLinkMap.end()) return;