mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 10:25:59 +08:00
Fix after cherry-picking df559decd9490fa7022b366fc633ff5d40dced5c
This commit is contained in:
parent
df559decd9
commit
2359d8f2eb
@ -1602,6 +1602,7 @@ namespace ProcessLayer
|
|||||||
{
|
{
|
||||||
|
|
||||||
static std::string emit_custom_gcode_per_print_z(
|
static std::string emit_custom_gcode_per_print_z(
|
||||||
|
GCode &gcodegen,
|
||||||
const CustomGCode::Item *custom_gcode,
|
const CustomGCode::Item *custom_gcode,
|
||||||
// ID of the first extruder printing this layer.
|
// ID of the first extruder printing this layer.
|
||||||
unsigned int first_extruder_id,
|
unsigned int first_extruder_id,
|
||||||
@ -1869,7 +1870,7 @@ void GCode::process_layer(
|
|||||||
|
|
||||||
if (single_object_instance_idx == size_t(-1)) {
|
if (single_object_instance_idx == size_t(-1)) {
|
||||||
// Normal (non-sequential) print.
|
// Normal (non-sequential) print.
|
||||||
gcode += ProcessLayer::emit_custom_gcode_per_print_z(layer_tools.custom_gcode, first_extruder_id, print.config());
|
gcode += ProcessLayer::emit_custom_gcode_per_print_z(*this, layer_tools.custom_gcode, first_extruder_id, print.config());
|
||||||
}
|
}
|
||||||
// Extrude skirt at the print_z of the raft layers and normal object layers
|
// Extrude skirt at the print_z of the raft layers and normal object layers
|
||||||
// not at the print_z of the interlaced support material layers.
|
// not at the print_z of the interlaced support material layers.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user