mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-06 23:07:42 -07:00
FIX: only match system preset for ams auto sync
jira: STUDIO-10434 Change-Id: I38322b1f7dc3c4f26aee91d69dbfb6ce65fb9f3d (cherry picked from commit c5650679548e75c88a16c91491322c41860ee586)
This commit is contained in:
parent
28fdf252d0
commit
fc76b50234
1 changed files with 2 additions and 0 deletions
|
|
@ -1626,6 +1626,8 @@ void GUI::CalibrateFilamentComboBox::load_tray(DynamicPrintConfig &config)
|
|||
} else {
|
||||
auto &filaments = m_collection->get_presets();
|
||||
auto iter = std::find_if(filaments.begin(), filaments.end(), [this](auto &f) {
|
||||
if (!f.is_system) // Only match system preset
|
||||
return false;
|
||||
bool is_compatible = m_preset_bundle->calibrate_filaments.find(&f) != m_preset_bundle->calibrate_filaments.end();
|
||||
return is_compatible && f.filament_id == m_filament_id;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue