mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 08:26:04 +08:00
FIX: MAC, do not check for ext mapping
jira: [STUDIO-12259] Change-Id: I7c6f7fdfd95fcea4b5c2c82994d4d2318070b11d
This commit is contained in:
parent
c95a900a09
commit
5a793fd5d2
@ -840,7 +840,14 @@ void AmsMapingPopup::on_left_down(wxMouseEvent &evt)
|
||||
auto left = item->GetSize();
|
||||
|
||||
if (pos.x > p_rect.x && pos.y > p_rect.y && pos.x < (p_rect.x + item->GetSize().x) && pos.y < (p_rect.y + item->GetSize().y)) {
|
||||
if (item->m_tray_data.type == TrayType::NORMAL && !is_match_material(item->m_tray_data.filament_type)) return;
|
||||
if (item->m_tray_data.type == TrayType::NORMAL) {
|
||||
if (!m_ext_mapping_filatype_check && (item->m_ams_id == VIRTUAL_TRAY_MAIN_ID || item->m_ams_id == VIRTUAL_TRAY_DEPUTY_ID)) {
|
||||
// Do nothing
|
||||
} else {
|
||||
if(!is_match_material(item->m_tray_data.filament_type)) { return; }
|
||||
}
|
||||
}
|
||||
|
||||
if (item->m_tray_data.type == TrayType::EMPTY) return;
|
||||
if ((m_show_type == ShowType::LEFT && item->GetParent()->GetName() == "left") ||
|
||||
(m_show_type == ShowType::RIGHT && item->GetParent()->GetName() == "right") ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user