From e67e37c77269681d24a622aca4b4ef18f0103206 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 24 Nov 2016 11:29:31 +0100 Subject: [PATCH] Supports: Disabled debugging,fix of bottom surface over print. --- xs/src/libslic3r/SupportMaterial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs/src/libslic3r/SupportMaterial.cpp b/xs/src/libslic3r/SupportMaterial.cpp index bbc2abaee4..02b2610e0a 100644 --- a/xs/src/libslic3r/SupportMaterial.cpp +++ b/xs/src/libslic3r/SupportMaterial.cpp @@ -10,7 +10,7 @@ #include #include - #define SLIC3R_DEBUG +// #define SLIC3R_DEBUG // Make assert active if SLIC3R_DEBUG #ifdef SLIC3R_DEBUG @@ -972,7 +972,7 @@ void PrintObjectSupportMaterial::generate_base_layers( // Collect all the top_contact layer intersecting with this layer. for (int i = idx_bottom_contact_overlapping; i >= 0; -- i) { MyLayer &layer_bottom_overlapping = *bottom_contacts[idx_bottom_contact_overlapping]; - if (layer_bottom_overlapping.print_z < layer_intermediate.print_z - layer_intermediate.height - EPSILON) + if (layer_bottom_overlapping.print_z < layer_intermediate.print_z - layer_intermediate.height + EPSILON) break; polygons_append(polygons_trimming, layer_bottom_overlapping.polygons); }