mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: fix an flush_into_object bug for copied objects
Copied objects share extrusion paths but they should be treated seperately. Thanks hisptoot for the fix. Signed-off-by: yifan.wu <yifan.wu@bambulab.com> Change-Id: I24d3050df7d284e92fc50a0213023a43ee8c529c
This commit is contained in:
parent
65f57882b9
commit
76b40c9636
3 changed files with 18 additions and 18 deletions
|
@ -2791,7 +2791,7 @@ GCode::LayerResult GCode::process_layer(
|
|||
}
|
||||
printing_extruders.clear();
|
||||
if (is_anything_overridden) {
|
||||
entity_overrides = const_cast<LayerTools&>(layer_tools).wiping_extrusions().get_extruder_overrides(extrusions, correct_extruder_id, layer_to_print.object()->instances().size());
|
||||
entity_overrides = const_cast<LayerTools&>(layer_tools).wiping_extrusions().get_extruder_overrides(extrusions, layer_to_print.original_object, correct_extruder_id, layer_to_print.object()->instances().size());
|
||||
if (entity_overrides == nullptr) {
|
||||
printing_extruders.emplace_back(correct_extruder_id);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue