One more fix for ooze_prevention and skirt_height == -1

This commit is contained in:
Alessandro Ranellucci 2013-12-24 15:33:54 +01:00
parent f9d38f6655
commit 57e4e5c8e1
2 changed files with 8 additions and 3 deletions
lib/Slic3r

View file

@ -661,7 +661,7 @@ sub set_extruder {
}
# set the current extruder to the standby temperature
if ($self->config->ooze_prevention && defined $self->extruder) {
if ($self->standby_points && defined $self->extruder) {
# move to the nearest standby point
$gcode .= $self->travel_to($self->last_pos->nearest_point($self->standby_points));