mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-19 08:52:09 +00:00
NEW:[STUDIO-4063] auto calculate flushing volumes
jira: STUDIO-4063 Change-Id: If8db1375bc8c17d4c86307c1c93a717f6c0df05a
This commit is contained in:
@@ -247,6 +247,7 @@ int PresetComboBox::update_ams_color()
|
||||
wxGetApp().plater()->on_config_change(new_cfg);
|
||||
//trigger the filament color changed
|
||||
wxCommandEvent *evt = new wxCommandEvent(EVT_FILAMENT_COLOR_CHANGED);
|
||||
evt->SetInt(m_filament_idx);
|
||||
wxQueueEvent(wxGetApp().plater(), evt);
|
||||
return idx;
|
||||
}
|
||||
@@ -698,6 +699,7 @@ PlaterPresetComboBox::PlaterPresetComboBox(wxWindow *parent, Preset::Type preset
|
||||
wxGetApp().plater()->on_config_change(cfg_new);
|
||||
|
||||
wxCommandEvent *evt = new wxCommandEvent(EVT_FILAMENT_COLOR_CHANGED);
|
||||
evt->SetInt(m_filament_idx);
|
||||
wxQueueEvent(wxGetApp().plater(), evt);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user