Path: Adaptive - fine tuning

This commit is contained in:
kreso-t
2018-08-29 18:27:11 +02:00
committed by wmayer
parent 51e3396759
commit 4603f61661
2 changed files with 2 additions and 2 deletions

View File

@@ -1413,7 +1413,7 @@ namespace AdaptivePath {
toClearPath.clear();
Perf_ExpandCleared.Stop();
}
if(cumulativeCutArea>MIN_CUT_AREA_FACTOR*stepScaled*stepOverFactor*referenceCutArea) {
if(cumulativeCutArea>tolerance*MIN_CUT_AREA_FACTOR*stepScaled*stepOverFactor*referenceCutArea) {
Path cleaned;
CleanPath(passToolPath,cleaned,CLEAN_PATH_TOLERANCE);
total_output_points+=cleaned.size();