mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 17:48:35 -07:00
FIX: only single extruder printer display the icon
of FilamentSettingDialog jira: 7714 Change-Id: I5d6eca802b9be1fcdeaa28d9e4fbc4862d8c8378 (cherry picked from commit b7176bfdd14c88362058d374c8573d1bb22d6a03)
This commit is contained in:
parent
5d70958c55
commit
94abdf8088
1 changed files with 6 additions and 6 deletions
|
|
@ -1034,12 +1034,12 @@ void PartPlate::render_icons(bool bottom, bool only_name, int hover_id)
|
|||
}
|
||||
|
||||
int extruder_count = wxGetApp().preset_bundle->get_printer_extruder_count();
|
||||
if (extruder_count == 2) {
|
||||
if (hover_id == PLATE_FILAMENT_MAP_ID)
|
||||
render_icon_texture(m_plate_filament_map_icon.model, m_partplate_list->m_plate_set_filament_map_hovered_texture);
|
||||
else
|
||||
render_icon_texture(m_plate_filament_map_icon.model, m_partplate_list->m_plate_set_filament_map_texture);
|
||||
}
|
||||
if (extruder_count == 2) {
|
||||
if (hover_id == PLATE_FILAMENT_MAP_ID)
|
||||
render_icon_texture(m_plate_filament_map_icon.model, m_partplate_list->m_plate_set_filament_map_hovered_texture);
|
||||
else
|
||||
render_icon_texture(m_plate_filament_map_icon.model, m_partplate_list->m_plate_set_filament_map_texture);
|
||||
}
|
||||
|
||||
if (hover_id == 6) {
|
||||
render_icon_texture(m_plate_name_edit_icon.model, m_partplate_list->m_plate_name_edit_hovered_texture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue