Fix crash in cut face nodes ordering

The comparison function of std::sort requires only return true when first is less than second, this is the rule of "strict weak ordering".
master
Jeremy Hu 2019-06-29 19:12:45 +09:30
parent 6b8afd2493
commit 969a25b697
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ nodemesh::Combiner::Mesh *MeshGenerator::combinePartMesh(const QString &partIdSt
} else if (firstRadius > secondRadius) { } else if (firstRadius > secondRadius) {
return false; return false;
} else { } else {
return true; return false;
} }
} }
} }