Do not set first layer bed temperature if user set bed temperature to zero in wizard
This commit is contained in:
parent
b1a3bd65ea
commit
0ef6311ac3
1 changed files with 3 additions and 2 deletions
|
@ -65,7 +65,8 @@ sub run {
|
|||
$self->{config}->set('first_layer_temperature', [$self->{config}->temperature->[0] + 5]);
|
||||
|
||||
# set first_layer_bed_temperature to temperature + 5
|
||||
$self->{config}->set('first_layer_bed_temperature', $self->{config}->bed_temperature + 5);
|
||||
$self->{config}->set('first_layer_bed_temperature',
|
||||
($self->{config}->bed_temperature > 0) ? ($self->{config}->bed_temperature + 5) : 0);
|
||||
}
|
||||
|
||||
$self->Destroy;
|
||||
|
@ -347,7 +348,7 @@ sub new {
|
|||
my $self = $class->SUPER::new($parent, 'Bed Temperature');
|
||||
|
||||
$self->append_text('Enter the bed temperature needed for getting your filament to stick to your heated bed, then click Next.');
|
||||
$self->append_text('A rule of thumb is 60 °C for PLA and 110 °C for ABS.');
|
||||
$self->append_text('A rule of thumb is 60 °C for PLA and 110 °C for ABS. Leave zero if you have no heated bed.');
|
||||
$self->append_option('bed_temperature');
|
||||
|
||||
return $self;
|
||||
|
|
Loading…
Add table
Reference in a new issue