mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
Updated Controller after the presets C++ port.
This commit is contained in:
1 parent
dd9e1aff70
commit
b11d9708ed
5 files changed
+26
-48
No files matched your search
@@ -1535,7 +1535,7 @@ sub export_amf {
|
||||
sub _get_export_file {
|
||||
my ($self, $format) = @_;
|
||||
my $suffix = $format eq 'STL' ? '.stl' : '.amf.xml';
|
||||
my $output_file = $self->{print}->output_filepath($main::opt{output});
|
||||
my $output_file = $self->{print}->output_filepath($main::opt{output} // '');
|
||||
$output_file =~ s/\.[gG][cC][oO][dD][eE]$/$suffix/;
|
||||
my $dlg = Wx::FileDialog->new($self, "Save $format file as:", dirname($output_file),
|
||||
basename($output_file), &Slic3r::GUI::MODEL_WILDCARD, wxFD_SAVE | wxFD_OVERWRITE_PROMPT);
|
||||
|
||||
Reference in new issue
Block a user