Rename standby_temperature to ooze_prevention.

This commit is contained in:
Alessandro Ranellucci 2013-11-15 16:01:15 +01:00
parent 5e78f8a0b0
commit beb7939e22
7 changed files with 28 additions and 17 deletions
lib/Slic3r

View file

@ -648,7 +648,7 @@ sub set_extruder {
}
# set the current extruder to the standby temperature
if ($self->config->standby_temperature && defined $self->extruder) {
if ($self->config->ooze_prevention && defined $self->extruder) {
# move to the nearest standby point
$gcode .= $self->travel_to($self->last_pos->nearest_point($self->standby_points));
@ -673,7 +673,7 @@ sub set_extruder {
$gcode .= $self->reset_e;
# set the new extruder to the operating temperature
if ($self->config->standby_temperature) {
if ($self->config->ooze_prevention) {
my $temp = defined $self->layer && $self->layer->id == 0
? $self->extruder->first_layer_temperature
: $self->extruder->temperature;