ENH:add check machine sync status logic

1. Check machine sync logic before pop up filament map
2. Switch to auto for flush mode if is not synced

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I05ef0e610418767f763c5579f5fc85a4e9b79c47
(cherry picked from commit 5d7f8b126789ca4f8f20d5cfbcc70ac24efd4d6c)
This commit is contained in:
xun.zhang 2024-12-20 20:05:43 +08:00 committed by Noisyfox
parent 057a1a4f5d
commit daad39949f
4 changed files with 37 additions and 2 deletions

View file

@ -1638,7 +1638,7 @@ wxBoxSizer* MainFrame::create_side_tools()
pos.x -= (m_slice_option_btn->GetRect().width + m_filament_group_popup->GetRect().width * 0.6);
m_filament_group_popup->SetPosition(pos);
m_filament_group_popup->tryPopup(m_plater->check_ams_status());
m_filament_group_popup->tryPopup(m_plater->get_machine_sync_status());
});
m_slice_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& event) {