diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2016-12-17 00:00:08 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-21 18:37:31 +0300 |
commit | a8edff1e8442aa29366bbac2e9cf72fcd4b45ccc (patch) | |
tree | 77359aa3a2c031ec68029d3523b221224fc66043 /xs | |
parent | 873161ea7cf06db27f4a8fe07355b89b40b6bf7a (diff) |
Always retract in bottom layers. #3053 #3618
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/libslic3r/GCode.cpp | 9 |
1 files changed, 0 insertions, 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; } } |