Skip to content

Commit

Permalink
Always retract in bottom layers. #3053 #3618
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Dec 16, 2016
1 parent d7f3393 commit d4d26a5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions xs/src/libslic3r/GCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,15 +672,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;
}
}

Expand Down

0 comments on commit d4d26a5

Please sign in to comment.