mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 05:32:00 +08:00
Fixed a bug in renaming a G-code at the end of a G-code export (#3708)
from .tmp suffix to a non .tmp file on localized Windows, thanks @bubnikv
This commit is contained in:
parent
402035732b
commit
7d2884bc0c
@ -101,7 +101,7 @@ sub export_gcode {
|
||||
|
||||
# close our gcode file
|
||||
close $fh;
|
||||
rename $tempfile, $output_file if $tempfile;
|
||||
rename Slic3r::encode_path($tempfile), Slic3r::encode_path($output_file) if $tempfile;
|
||||
}
|
||||
|
||||
# run post-processing scripts
|
||||
|
Loading…
x
Reference in New Issue
Block a user