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;