From 294551a2fb3a8e4a67e9013217af4d65fdcf30ae Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 14 Jun 2017 16:08:08 +0800 Subject: [PATCH] Path.Area: fix Path.fromShapes retraction threshold --- src/Mod/Path/App/Area.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index 6aa8d416de..46dfe29604 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -2901,6 +2901,7 @@ void Area::toPath(Toolpath &path, const std::list &shapes, threshold = fabs(threshold); if(threshold < Precision::Confusion()) threshold = Precision::Confusion(); + threshold *= threshold; resume_height = fabs(resume_height); AxisGetter getter = &gp_Pnt::Z;