mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
#4888 - Fixed jerky movements in Preview when using 3D mouse
This commit is contained in:
@@ -1933,7 +1933,7 @@ void MainFrame::add_to_recent_projects(const wxString& filename)
|
||||
//
|
||||
// Called after the Preferences dialog is closed and the program settings are saved.
|
||||
// Update the UI based on the current preferences.
|
||||
void MainFrame::update_ui_from_settings()
|
||||
void MainFrame::update_ui_from_settings(bool apply_free_camera_correction)
|
||||
{
|
||||
// const bool bp_on = wxGetApp().app_config->get("background_processing") == "1";
|
||||
// m_menu_item_reslice_now->Enable(!bp_on);
|
||||
@@ -1942,7 +1942,7 @@ void MainFrame::update_ui_from_settings()
|
||||
// m_plater->sidebar().Layout();
|
||||
|
||||
if (m_plater)
|
||||
m_plater->update_ui_from_settings();
|
||||
m_plater->update_ui_from_settings(apply_free_camera_correction);
|
||||
for (auto tab: wxGetApp().tabs_list)
|
||||
tab->update_ui_from_settings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user