mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: modify the flushing volume of transparent material
The transparent material is regarded as the white material to calculate the flushing volume Change-Id: I922ff55ede62acb7040d6f7cdc6b14bcf6e31274
This commit is contained in:
@@ -1374,7 +1374,7 @@ void Sidebar::load_ams_list(std::string const &device, std::map<std::string, Ams
|
||||
ams.set_key_value("filament_id", new ConfigOptionStrings{tray.second->setting_id});
|
||||
ams.set_key_value("filament_type", new ConfigOptionStrings{tray.second->type});
|
||||
ams.set_key_value("tray_name", new ConfigOptionStrings{std::string(1, n) + std::string(1, t)});
|
||||
ams.set_key_value("filament_colour", new ConfigOptionStrings{"#" + tray.second->color.substr(0, 6)});
|
||||
ams.set_key_value("filament_colour", new ConfigOptionStrings{"#" + tray.second->color.substr(0, 8)});
|
||||
filament_ams_list.emplace_back(std::move(ams));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user