mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: try to reduce page fault while idling
jira: [none] Change-Id: I563cbf4a8ba8a4ae1e5b1b1f735753d3aef23e16 (cherry picked from commit ed1e9678c351dc037f2e3cc7ea0e19d46731699c)
This commit is contained in:
@@ -680,6 +680,9 @@ void AMSControl::CreateAmsDoubleNozzle()
|
||||
m_down_road->UpdatePassRoad(AMSPanelPos::RIGHT_PANEL, -1, AMSPassRoadSTEP::AMS_ROAD_STEP_NONE);
|
||||
m_extruder->OnAmsLoading(false, MAIN_NOZZLE_ID);
|
||||
|
||||
m_amswin->Layout();
|
||||
m_amswin->Fit();
|
||||
|
||||
//Thaw();
|
||||
}
|
||||
|
||||
@@ -765,6 +768,9 @@ void AMSControl::CreateAmsSingleNozzle()
|
||||
m_extruder->updateNozzleNum(1);
|
||||
m_extruder->OnAmsLoading(false, MAIN_NOZZLE_ID);
|
||||
|
||||
m_amswin->Layout();
|
||||
m_amswin->Fit();
|
||||
|
||||
//Refresh();
|
||||
//Thaw();
|
||||
}
|
||||
@@ -803,7 +809,12 @@ void AMSControl::show_noams_mode()
|
||||
|
||||
void AMSControl::show_auto_refill(bool show)
|
||||
{
|
||||
//m_img_ams_backup->Show(show);
|
||||
if (m_button_auto_refill->IsShown() == show)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
m_button_auto_refill->Show(show);
|
||||
m_amswin->Layout();
|
||||
m_amswin->Fit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user