mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 12:35:55 +08:00
Fixed a newly introduced G-code issue on Windows
when exporting into a localized directory.
This commit is contained in:
parent
0adc6cc65e
commit
8a628c451c
@ -78,7 +78,7 @@ sub export_gcode {
|
|||||||
# open output gcode file if we weren't supplied a file-handle
|
# open output gcode file if we weren't supplied a file-handle
|
||||||
my $tempfile = "$output_file.tmp";
|
my $tempfile = "$output_file.tmp";
|
||||||
my $gcode = Slic3r::GCode->new();
|
my $gcode = Slic3r::GCode->new();
|
||||||
my $result = $gcode->do_export($self, $tempfile);
|
my $result = $gcode->do_export($self, Slic3r::encode_path($tempfile));
|
||||||
die $result . "\n" if ($result ne '');
|
die $result . "\n" if ($result ne '');
|
||||||
my $i;
|
my $i;
|
||||||
for ($i = 0; $i < 5; $i += 1) {
|
for ($i = 0; $i < 5; $i += 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user