Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc.lamboo <casperlamboo@gmail.com>2022-11-04 17:33:16 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-11-04 17:33:16 +0300
commit165eaa69284fe684094735c8b84aa7d1174a0471 (patch)
tree6480078b511096216d14eb678a5956e4742e5442
parent89451982396c8f2bd9326284b8ffb443c37c7816 (diff)
Revert "Improve less-random placement of seam location"
This reverts commit c5b3edf925b3a54da558ba79a3d78b750fbed60c.
-rw-r--r--include/PathOrderOptimizer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/PathOrderOptimizer.h b/include/PathOrderOptimizer.h
index ea65bf367..7910703b8 100644
--- a/include/PathOrderOptimizer.h
+++ b/include/PathOrderOptimizer.h
@@ -491,8 +491,7 @@ protected:
}
}
- constexpr float EPSILON = 25.0;
- if(score + EPSILON < best_score)
+ if(score < best_score)
{
best_score = score;
best_i = i;