From fda21bd6f2fb44ea1b8640cad4cf30623c5d4e92 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 16 Jul 2012 00:28:15 +0200 Subject: [PATCH] Only set $last_skein_dir from Plater, not $last_skein_file, to avoid interfering with Quick Slice. --- lib/Slic3r/GUI/Plater.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 4881ab64f..1b14df85c 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -236,7 +236,7 @@ sub load_file { my $self = shift; my ($input_file) = @_; - $Slic3r::GUI::SkeinPanel::last_input_file = $input_file; + $Slic3r::GUI::SkeinPanel::last_skein_dir = dirname($input_file); my $process_dialog = Wx::ProgressDialog->new('Loading…', "Processing input file…", 100, $self, 0); $process_dialog->Pulse;