mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 17:21:10 +00:00
fix: drop duplicate filament-extruder reshape in Print::apply
Upstream #13360 moved `m_ori_full_print_config = ...` and `update_values_to_printer_extruders_for_multiple_filaments(...)` into a new `if (!extruder_applied)` block. The 3-way merge with our IMEX `physical_extruder_map` derivation block (sitting between the old and new positions) silently kept both copies, running the per-filament reshape twice and miscounting filaments for the multi-temperature compatibility check. Removed the obsolete second copy at the old position. Resolves `p1s_multicolor.3mf` regression test failure.
This commit is contained in:
@@ -1187,8 +1187,6 @@ Print::ApplyStatus Print::apply(const Model &model, DynamicPrintConfig new_full_
|
||||
pem->values = effective_physical_extruder_map(pem, pei).values;
|
||||
}
|
||||
|
||||
m_ori_full_print_config = new_full_config;
|
||||
new_full_config.update_values_to_printer_extruders_for_multiple_filaments(new_full_config, filament_options_with_variant, "filament_self_index", "filament_extruder_variant");
|
||||
auto opt_filament_map = new_full_config.option<ConfigOptionInts>("filament_map");
|
||||
std::vector<int> filament_maps = opt_filament_map ? opt_filament_map->values : std::vector<int>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user