mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-05 00:46:34 +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);
|
$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;
|
$self->flush_filters;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user