mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
3rd attempt to fix JIRA SPE-22 (wrong file export on MAC)
This commit is contained in:
@@ -1624,12 +1624,12 @@ sub _get_export_file {
|
||||
}
|
||||
elsif ($format eq 'AMF')
|
||||
{
|
||||
if ($^O eq 'MacOS') {
|
||||
# It seems that MacOS does not like double extension
|
||||
$suffix = '.amf';
|
||||
} else {
|
||||
$suffix = '.zip.amf';
|
||||
}
|
||||
if (&Wx::wxMAC) {
|
||||
# It seems that MacOS does not like double extension
|
||||
$suffix = '.amf';
|
||||
} else {
|
||||
$suffix = '.zip.amf';
|
||||
}
|
||||
$wildcard = 'amf';
|
||||
}
|
||||
elsif ($format eq '3MF')
|
||||
|
||||
Reference in New Issue
Block a user