Fix build

master
Jeremy Hu 2019-05-19 13:08:20 +09:30
parent 8f5368a43f
commit b09df89da2
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ nodemesh::Combiner::Mesh *MeshGenerator::combinePartMesh(const QString &partIdSt
float radius = valueOfKeyInMapOrEmpty(node, "radius").toFloat(); float radius = valueOfKeyInMapOrEmpty(node, "radius").toFloat();
float x = (valueOfKeyInMapOrEmpty(node, "x").toFloat() - m_mainProfileMiddleX); float x = (valueOfKeyInMapOrEmpty(node, "x").toFloat() - m_mainProfileMiddleX);
float y = (m_mainProfileMiddleY - valueOfKeyInMapOrEmpty(node, "y").toFloat()); 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 // Build edge link
std::map<QString, std::vector<QString>> cutFaceNodeLinkMap; std::map<QString, std::vector<QString>> cutFaceNodeLinkMap;