Only set $last_skein_dir from Plater, not $last_skein_file, to avoid interfering with Quick Slice.

This commit is contained in:
Henrik Brix Andersen 2012-07-16 00:28:15 +02:00
parent b24e0370dd
commit fda21bd6f2

View file

@ -236,7 +236,7 @@ sub load_file {
my $self = shift; my $self = shift;
my ($input_file) = @_; 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); my $process_dialog = Wx::ProgressDialog->new('Loading…', "Processing input file…", 100, $self, 0);
$process_dialog->Pulse; $process_dialog->Pulse;