mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 17:55:56 +08:00
Merge pull request #984 from giseburt/origin_master
Fix for Replicator 1 not finishing builds.
This commit is contained in:
commit
a6243124a9
@ -86,7 +86,7 @@ sub change_layer {
|
|||||||
my $gcode = "";
|
my $gcode = "";
|
||||||
if ($Slic3r::Config->gcode_flavor =~ /^(?:makerbot|sailfish)$/) {
|
if ($Slic3r::Config->gcode_flavor =~ /^(?:makerbot|sailfish)$/) {
|
||||||
$gcode .= sprintf "M73 P%s%s\n",
|
$gcode .= sprintf "M73 P%s%s\n",
|
||||||
int(100 * ($layer->id / ($self->layer_count - 1))),
|
int(99 * ($layer->id / ($self->layer_count - 1))),
|
||||||
($Slic3r::Config->gcode_comments ? ' ; update progress' : '');
|
($Slic3r::Config->gcode_comments ? ' ; update progress' : '');
|
||||||
}
|
}
|
||||||
return $gcode;
|
return $gcode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user