mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 22:32:55 +02:00
Fix regression causing toolchange_gcode to crash Slic3r. Includes regression test. #1545
This commit is contained in:
1 parent
5217bc370a
commit
387df3b900
4 files changed
+13
-10
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user