mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-04 05:56:31 +08:00
Prime layer_num and layer_z for end_gcode.
This commit is contained in:
parent
f337fdcc62
commit
fbdb8da86b
@ -294,6 +294,8 @@ sub export {
|
||||
$self->process_layer($obj_idx, $layer, $layer->object->_shifted_copies);
|
||||
}
|
||||
}
|
||||
$gcodegen->placeholder_parser->set('layer_z' => $print_z);
|
||||
$gcodegen->placeholder_parser->set("layer_num" => $gcodegen->layer_index);
|
||||
}
|
||||
$self->flush_filters;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user