mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: the ext does not support filament backup; add protection
jira: [STUDIO-10812] Change-Id: I01b6de1e23d00932b373920105542b8e8770e809 (cherry picked from commit 19697b2dcd2a4f20d977379cc76dff8e02e938f2)
This commit is contained in:
@@ -2025,6 +2025,12 @@ void AmsReplaceMaterialDialog::update_mapping_result( std::vector<FilamentInfo>
|
||||
{
|
||||
m_tray_used.clear();
|
||||
for (int i = 0; i < result.size(); i++) {
|
||||
|
||||
if (result[i].tray_id == VIRTUAL_TRAY_MAIN_ID || result[i].tray_id == VIRTUAL_TRAY_DEPUTY_ID)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
m_tray_used.push_back(wxGetApp().transition_tridid(result[i].tray_id).ToStdString());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user