mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX:Incorrect filament used for extruder with support filament
jira: STUDIO-11670 Change-Id: I7c5da8280cdc31c5910cd42333654db7673265c7 (cherry picked from commit 5b0b04815e6cff0d119328e780e4183a6ed479c5) (cherry picked from commit 4364a4ecca47c96ebb39a4a7eacefb50ef6dd932)
This commit is contained in:
@@ -895,9 +895,6 @@ bool ToolOrdering::cal_non_support_filaments(const PrintConfig &config,
|
|||||||
int find_first_filaments_count = 0;
|
int find_first_filaments_count = 0;
|
||||||
bool has_non_support = has_non_support_filament(config);
|
bool has_non_support = has_non_support_filament(config);
|
||||||
for (const LayerTools &layer_tool : m_layer_tools) {
|
for (const LayerTools &layer_tool : m_layer_tools) {
|
||||||
if (!layer_tool.has_object)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
for (const unsigned int &filament : layer_tool.extruders) {
|
for (const unsigned int &filament : layer_tool.extruders) {
|
||||||
//check first filament
|
//check first filament
|
||||||
if (!config.filament_map.values.empty() && initial_filaments[config.filament_map.values[filament] - 1] == -1) {
|
if (!config.filament_map.values.empty() && initial_filaments[config.filament_map.values[filament] - 1] == -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user