From e68cbede6e66a835c24258aced010c1a48cbc5b6 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 11 Jan 2014 23:46:20 +0100 Subject: [PATCH] Add scale rotate duplicate_grid to @Ignore and fix @Ignore which was ignored --- lib/Slic3r/Config.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 383b19bea..5a4769983 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -7,7 +7,8 @@ use List::Util qw(first max); # cemetery of old config settings our @Ignore = qw(duplicate_x duplicate_y multiply_x multiply_y support_material_tool acceleration - adjust_overhang_flow standby_temperature scale rotate duplicate duplicate_grid); + adjust_overhang_flow standby_temperature scale rotate duplicate duplicate_grid + rotate scale duplicate_grid); our $Options = print_config_def(); @@ -106,7 +107,7 @@ sub _handle_legacy { my ($opt_key, $value) = @_; # handle legacy options - return ($opt_key, $value) if first { $_ eq $opt_key } @Ignore; + return () if first { $_ eq $opt_key } @Ignore; if ($opt_key =~ /^(extrusion_width|bottom_layer_speed|first_layer_height)_ratio$/) { $opt_key = $1; $opt_key =~ s/^bottom_layer_speed$/first_layer_speed/;