FIX:Incorrect filament used for extruder with support filament

jira: STUDIO-11670
Change-Id: I7c5da8280cdc31c5910cd42333654db7673265c7
(cherry picked from commit 5b0b04815e6cff0d119328e780e4183a6ed479c5)
This commit is contained in:
zhimin.zeng 2025-04-17 17:27:16 +08:00 committed by Lane.Wei
parent c83ab7651c
commit 4364a4ecca
1 changed files with 0 additions and 3 deletions

View File

@ -873,9 +873,6 @@ bool ToolOrdering::cal_non_support_filaments(const PrintConfig &config,
int find_first_filaments_count = 0;
bool has_non_support = has_non_support_filament(config);
for (const LayerTools &layer_tool : m_layer_tools) {
if (!layer_tool.has_object)
continue;
for (const unsigned int &filament : layer_tool.extruders) {
//check first filament
if (!config.filament_map.values.empty() && initial_filaments[config.filament_map.values[filament] - 1] == -1) {