Legacy config files were not correctly supported
This commit is contained in:
parent
82dd3c7a3e
commit
c7af74884f
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ sub load {
|
|||
|
||||
# handle legacy options
|
||||
next if $ignore{$key};
|
||||
if ($key =~ /^(?:extrusion_width|bottom_layer_speed|first_layer_height)_ratio$/) {
|
||||
if ($key =~ /^(extrusion_width|bottom_layer_speed|first_layer_height)_ratio$/) {
|
||||
$key = $1;
|
||||
$key =~ s/^bottom_layer_speed$/first_layer_speed/;
|
||||
$val = $val =~ /^\d+(\.\d+)?$/ ? ($val*100) . "%" : 0;
|
||||
|
|
Loading…
Reference in a new issue