diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 5fba4b903..537cb5e47 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -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;