mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-04 18:10:38 +08:00
SPE-2645: Fix issue with not including the wipe tower into the convex hull of the first layer after adding the extruder change.
This commit is contained in:
parent
2f602b3ca8
commit
f156c459f7
@ -1163,8 +1163,9 @@ Print::ApplyStatus Print::apply(const Model &model, DynamicPrintConfig new_full_
|
||||
|
||||
update_apply_status(
|
||||
(num_extruders_changed || tool_change_differ || multi_extruder_differ || color_change_differ) ?
|
||||
// The Tool Ordering and the Wipe Tower are no more valid.
|
||||
this->invalidate_steps({ psWipeTower, psGCodeExport }) :
|
||||
// The Tool Ordering and the Wipe Tower are no more valid.
|
||||
// Because G-code export (PlaceholderParser) accesses the first layer convex hull, we need to also invalidate psSkirtBrim.
|
||||
this->invalidate_steps({ psWipeTower, psGCodeExport, psSkirtBrim }) :
|
||||
// There is no change in Tool Changes stored in custom_gcode_per_print_z, therefore there is no need to update Tool Ordering.
|
||||
this->invalidate_step(psGCodeExport));
|
||||
m_model.custom_gcode_per_print_z() = model.custom_gcode_per_print_z();
|
||||
|
Loading…
x
Reference in New Issue
Block a user