diff --git a/src/Mod/Part/App/TopoShapeExpansion.cpp b/src/Mod/Part/App/TopoShapeExpansion.cpp index ff999bd0b0..452037a58d 100644 --- a/src/Mod/Part/App/TopoShapeExpansion.cpp +++ b/src/Mod/Part/App/TopoShapeExpansion.cpp @@ -466,7 +466,7 @@ std::vector TopoShape::findSubShapesWithSharedVertex(const TopoShape& } if (vertices.empty() || checkGeometry) { - geom = Geometry::fromShape(subshape.getShape()); + geom = Geometry::fromShape(subshape.getShape(), true); if (!geom) { return res; } @@ -480,7 +480,7 @@ std::vector TopoShape::findSubShapesWithSharedVertex(const TopoShape& } auto compareGeometry = [&](const TopoShape& s, bool strict) { - std::unique_ptr g2(Geometry::fromShape(s.getShape())); + std::unique_ptr g2(Geometry::fromShape(s.getShape(), true)); if (!g2) { return false; }