Path:Adaptive - fix

This commit is contained in:
kreso-t
2018-09-02 08:54:25 +02:00
committed by wmayer
parent 0cbc401f7d
commit 8ce1e811d5

View File

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