Skip to content

Commit

Permalink
[TD]Cosmetic Edge endpoint inversion
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jun 20, 2020
1 parent ff66708 commit 002e25b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Mod/TechDraw/App/CosmeticEdgePyImp.cpp
Expand Up @@ -235,7 +235,6 @@ void CosmeticEdgePy::setStart(Py::Object arg)

pNew = DrawUtil::invertY(pNew);
Base::Vector3d pEnd = getCosmeticEdgePtr()->permaEnd;
pEnd = DrawUtil::invertY(pEnd);
gp_Pnt gp1(pNew.x,pNew.y,pNew.z);
gp_Pnt gp2(pEnd.x,pEnd.y,pEnd.z);
TopoDS_Edge e = BRepBuilderAPI_MakeEdge(gp1, gp2);
Expand Down Expand Up @@ -269,7 +268,6 @@ void CosmeticEdgePy::setEnd(Py::Object arg)

pNew = DrawUtil::invertY(pNew);
Base::Vector3d pStart = getCosmeticEdgePtr()->permaStart;
pStart = DrawUtil::invertY(pStart);
gp_Pnt gp1(pNew.x,pNew.y,pNew.z);
gp_Pnt gp2(pStart.x,pStart.y,pStart.z);
TopoDS_Edge e = BRepBuilderAPI_MakeEdge(gp2, gp1);
Expand Down

0 comments on commit 002e25b

Please sign in to comment.