From c7af74884f380478cd5af6bfeb6963e512f7205d Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci <aar@cpan.org> Date: Wed, 6 Jun 2012 18:47:11 +0200 Subject: [PATCH] Legacy config files were not correctly supported --- lib/Slic3r/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;