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
path: root/xs
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2016-12-17 00:00:08 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-21 18:37:31 +0300
commita8edff1e8442aa29366bbac2e9cf72fcd4b45ccc (patch)
tree77359aa3a2c031ec68029d3523b221224fc66043 /xs
parent873161ea7cf06db27f4a8fe07355b89b40b6bf7a (diff)
Always retract in bottom layers. #3053 #3618
Diffstat (limited to 'xs')
-rw-r--r--xs/src/libslic3r/GCode.cpp9
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;
}
}