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:
authorJustin Schuh <jschuh@users.noreply.github.com>2021-09-21 16:50:04 +0300
committerGitHub <noreply@github.com>2021-09-21 16:50:04 +0300
commit306b54bc0a78ba768aa7544f117c2884a3af833e (patch)
tree8d0efee181dd7af4c42f415a4c918617cba245bc /src/libslic3r
parentac7674b85aba7d870882b627c090a010de3c7dc1 (diff)
Fix float accuracy issue when thick_bridges is off (#6957)
Diffstat (limited to 'src/libslic3r')
-rw-r--r--src/libslic3r/PrintObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp
index d9a4f2670..74ef27bd7 100644
--- a/src/libslic3r/PrintObject.cpp
+++ b/src/libslic3r/PrintObject.cpp
@@ -1447,7 +1447,7 @@ void PrintObject::bridge_over_infill()
Polygons to_bridge_pp = internal_solid;
// iterate through lower layers spanned by bridge_flow
- double bottom_z = layer->print_z - bridge_flow.height();
+ double bottom_z = layer->print_z - bridge_flow.height() - EPSILON;
for (int i = int(layer_it - m_layers.begin()) - 1; i >= 0; --i) {
const Layer* lower_layer = m_layers[i];