From a8edff1e8442aa29366bbac2e9cf72fcd4b45ccc Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 16 Dec 2016 22:00:08 +0100 Subject: [PATCH] Always retract in bottom layers. #3053 #3618 --- xs/src/libslic3r/GCode.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 77b4932ef..40d2ce8f0 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -1022,15 +1022,6 @@ GCode::needs_retraction(const Polyline &travel, ExtrusionRole role) /* skip retraction if travel is contained in an internal slice *and* internal infill is enabled (so that stringing is entirely not visible) */ return false; - } else if (this->layer->any_bottom_region_slice_contains(travel) - && this->layer->upper_layer != NULL - && this->layer->upper_layer->slices.contains(travel) - && (this->config.bottom_solid_layers.value >= 2 || this->config.fill_density.value > 0)) { - /* skip retraction if travel is contained in an *infilled* bottom slice - but only if it's also covered by an *infilled* upper layer's slice - so that it's not visible from above (a bottom surface might not have an - upper slice in case of a thin membrane) */ - return false; } }