From afd06d09f796f0069971fb1d4a1bf60536595f2c Mon Sep 17 00:00:00 2001 From: wandererfan Date: Sat, 19 Aug 2023 14:35:26 -0400 Subject: [PATCH] [TD]fix omission in splitting GeometryObject --- src/Mod/TechDraw/App/Cosmetic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/TechDraw/App/Cosmetic.cpp b/src/Mod/TechDraw/App/Cosmetic.cpp index f3242f2017..b991b8e14e 100644 --- a/src/Mod/TechDraw/App/Cosmetic.cpp +++ b/src/Mod/TechDraw/App/Cosmetic.cpp @@ -198,10 +198,10 @@ TechDraw::BaseGeomPtr CosmeticEdge::scaledAndRotatedGeometry(const double scale, TopoDS_Edge e = m_geometry->getOCCEdge(); // TopoDS_Shape s = TechDraw::scaleShape(e, scale); // Mirror shape in Y and scale - TopoDS_Shape s = TechDraw::mirrorShape(e, gp_Pnt(0.0, 0.0, 0.0), scale); + TopoDS_Shape s = ShapeUtils::mirrorShape(e, gp_Pnt(0.0, 0.0, 0.0), scale); // rotate using OXYZ as the coordinate system - s = TechDraw::rotateShape(s, gp_Ax2(), rotDegrees); - s = TechDraw::mirrorShape(s); + s = ShapeUtils::rotateShape(s, gp_Ax2(), rotDegrees); + s = ShapeUtils::mirrorShape(s); TopoDS_Edge newEdge = TopoDS::Edge(s); TechDraw::BaseGeomPtr newGeom = TechDraw::BaseGeom::baseFactory(newEdge); newGeom->setClassOfEdge(ecHARD);