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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2017-07-28 13:05:04 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2017-07-28 13:05:04 +0300
commit0c8e8711109395a0eafabbb31a07be87a5623208 (patch)
tree082e154d4332c13ab70f811899ebf989b7fb92b9
parent3b51f644110978f69edaf95b50a8796e992aab23 (diff)
Disabled a buggy optimization in the Clipper library. This optimization will be fixed in the Slic3r PE 1.37version_1.36.2
-rw-r--r--xs/src/clipper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/clipper.cpp b/xs/src/clipper.cpp
index 415c54bab..bf893a4b6 100644
--- a/xs/src/clipper.cpp
+++ b/xs/src/clipper.cpp
@@ -394,7 +394,7 @@ inline bool SlopesUnequalFilter(cInt dx1, cInt dy1, cInt dx2, cInt dy2) {
inline bool SlopesEqual(const cInt dx1, const cInt dy1, const cInt dx2, const cInt dy2, bool UseFullInt64Range) {
return (UseFullInt64Range) ?
// |dx1| < 2^63, |dx2| < 2^63 etc,
-#if 1
+#if 0
// Instead of jumping to 128bit multiply on a 32bit or 64bit CPU,
// calculate an approximate value of the determinant and its error.
// If the determinant is above the error, the slopes are certainly not equal.