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();