From c25a31ef98d6f7c6f29d316502486aec1d0e9fcf Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Tue, 17 Jul 2012 23:51:57 +0200 Subject: [PATCH] Avoid SVG slicing interfering with repeating last quick slice. --- lib/Slic3r/GUI/SkeinPanel.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/GUI/SkeinPanel.pm b/lib/Slic3r/GUI/SkeinPanel.pm index a31d69bfb..3b7ec4514 100644 --- a/lib/Slic3r/GUI/SkeinPanel.pm +++ b/lib/Slic3r/GUI/SkeinPanel.pm @@ -76,7 +76,7 @@ sub do_slice { } $input_file = $dialog->GetPaths; $dialog->Destroy; - $last_input_file = $input_file; + $last_input_file = $input_file unless $params{export_svg}; } else { if (!defined $last_input_file) { Wx::MessageDialog->new($self, "No previously sliced file.", @@ -110,7 +110,8 @@ sub do_slice { $dlg->Destroy; return; } - $output_file = $last_output_file = $dlg->GetPath; + $output_file = $dlg->GetPath; + $last_output_file = $output_file unless $params{export_svg}; $dlg->Destroy; }