mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user