From 143d24f681bfb6b8e97819637c88d45a596adc20 Mon Sep 17 00:00:00 2001 From: younghang <1179536490@qq.com> Date: Mon, 16 May 2022 10:08:35 +0800 Subject: [PATCH] Path: Fix PointProjectionFailed in rebaseWire() --- src/Mod/Path/App/Area.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index edd890ba93..d5f427a737 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -2615,7 +2615,7 @@ struct ShapeInfo{ GeomAPI_ProjectPointOnCurve gpp; gpp.Init( myBestPt,curve); gpp.Perform(myBestPt); - myBestPt=c.NearestPoint(); + myBestPt= gpp.NearestPoint(); gpp.Perform(pprev); pprev = gpp.NearestPoint();