[TD]fix unwanted inversion in edge scrubbing

This commit is contained in:
wandererfan
2023-04-16 13:28:02 -04:00
committed by WandererFan
parent 6b4281883a
commit 07a6c62aef
5 changed files with 35 additions and 22 deletions

View File

@@ -545,7 +545,9 @@ void GeometryObject::addGeomFromCompound(TopoDS_Shape edgeCompound, edgeClass ca
for (int iPass = 0; iPass < passes; iPass++) {
edgeVector = DrawProjectSplit::removeOverlapEdges(edgeVector);
}
cleanShape = DU::vectorToCompound(edgeVector);
bool invertResult = false;
cleanShape = DU::vectorToCompound(edgeVector, invertResult);
} else {
cleanShape = edgeCompound;
}