mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
Bugfix: crash when slicing one layer objects with sailfish G-code flavor. Includes regression test. #2335
This commit is contained in:
parent
11bd1e68e2
commit
30b0869595
4 changed files with 22 additions and 4 deletions
|
@ -938,6 +938,7 @@ sub write_gcode {
|
|||
print $fh $gcodegen->retract;
|
||||
print $fh $gcodegen->writer->set_fan(0);
|
||||
printf $fh "%s\n", $gcodegen->placeholder_parser->process($self->config->end_gcode);
|
||||
print $fh $gcodegen->writer->update_progress($gcodegen->layer_count, $gcodegen->layer_count, 1); # 100%
|
||||
|
||||
$self->total_used_filament(0);
|
||||
$self->total_extruded_volume(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue