mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 18:25:55 +08:00
Fix autoslicing camera and notifications issue
- It was due to improper synchronization of wxEvents
This commit is contained in:
parent
96da3bd3e3
commit
9bdd59afea
@ -150,9 +150,6 @@ void GLCanvas3D::select_bed(int i, bool triggered_by_user)
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __WXGTK3__
|
#ifdef __WXGTK3__
|
||||||
// wxGTK3 seems to simulate OSX behavior in regard to HiDPI scaling support.
|
// wxGTK3 seems to simulate OSX behavior in regard to HiDPI scaling support.
|
||||||
RetinaHelper::RetinaHelper(wxWindow* window) : m_window(window), m_self(nullptr) {}
|
RetinaHelper::RetinaHelper(wxWindow* window) : m_window(window), m_self(nullptr) {}
|
||||||
@ -2222,6 +2219,7 @@ void GLCanvas3D::render()
|
|||||||
render_autoslicing_wait();
|
render_autoslicing_wait();
|
||||||
if (fff_print()->finished() || fff_print()->empty()) {
|
if (fff_print()->finished() || fff_print()->empty()) {
|
||||||
s_multiple_beds.autoslice_next_bed();
|
s_multiple_beds.autoslice_next_bed();
|
||||||
|
wxYield();
|
||||||
} else {
|
} else {
|
||||||
wxGetApp().plater()->schedule_background_process();
|
wxGetApp().plater()->schedule_background_process();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user