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
parent
6b8afd2493
commit
969a25b697
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue