1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-18 09:14:27 +00:00

Bugfix: ignore only_retract_when_crossing_perimeters when fill_density = 0

This commit is contained in:
Alessandro Ranellucci
2014-07-23 00:57:31 +02:00
parent 16a3d29a1d
commit 71209711b3
2 changed files with 27 additions and 1 deletions
+1
View File
@@ -335,6 +335,7 @@ sub travel_to {
# *and* in an island in the upper layer (so that the ooze will not be visible)
if ($travel->length < scale $self->extruder->retract_before_travel
|| ($self->config->only_retract_when_crossing_perimeters
&& $self->config->fill_density > 0
&& (first { $_->contains_line($travel) } @{$self->_upper_layer_islands})
&& (first { $_->contains_line($travel) } @{$self->_layer_islands}))
|| (defined $role && $role == EXTR_ROLE_SUPPORTMATERIAL && (first { $_->contains_line($travel) } @{$self->layer->support_islands}))