From 8ce1e811d5cddcd8f65ec60cdd83f09782aceec0 Mon Sep 17 00:00:00 2001 From: kreso-t Date: Sun, 2 Sep 2018 08:54:25 +0200 Subject: [PATCH] Path:Adaptive - fix --- src/Mod/Path/libarea/Adaptive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/libarea/Adaptive.cpp b/src/Mod/Path/libarea/Adaptive.cpp index 9cd04a92f6..0f9de91820 100644 --- a/src/Mod/Path/libarea/Adaptive.cpp +++ b/src/Mod/Path/libarea/Adaptive.cpp @@ -1462,7 +1462,7 @@ namespace AdaptivePath { double distFromStart = sqrt(DistanceSqrd(toolPos,startPoint)); bool distanceTrend = distFromStart > prevDistFromStart ? true : false; - if(distFromStart!=prevDistTrend) { + if(distFromStart!=prevDistTrend || toClearPath.size()>10) { Perf_ExpandCleared.Start(); // expand cleared clipof.Clear();