mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Fix regression causing toolchange_gcode to crash Slic3r. Includes regression test. #1545
This commit is contained in:
parent
5217bc370a
commit
387df3b900
4 changed files with 13 additions and 10 deletions
|
@ -66,7 +66,7 @@ sub process_layer {
|
|||
|
||||
# set new layer - this will change Z and force a retraction if retract_layer_change is enabled
|
||||
$gcode .= $self->gcodegen->change_layer($layer);
|
||||
$gcode .= $self->print->replace_variables($Slic3r::Config->layer_gcode, {
|
||||
$gcode .= $self->gcodegen->replace_variables($Slic3r::Config->layer_gcode, {
|
||||
layer_num => $self->gcodegen->layer->id,
|
||||
}) . "\n" if $Slic3r::Config->layer_gcode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue