From 9bdd59afea41621d06448e0f54c34f594de27e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0ach?= Date: Fri, 6 Dec 2024 15:47:17 +0100 Subject: [PATCH] Fix autoslicing camera and notifications issue - It was due to improper synchronization of wxEvents --- src/slic3r/GUI/GLCanvas3D.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 1bc535710c..bd654a9f9f 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -150,9 +150,6 @@ void GLCanvas3D::select_bed(int i, bool triggered_by_user) }); } - - - #ifdef __WXGTK3__ // wxGTK3 seems to simulate OSX behavior in regard to HiDPI scaling support. RetinaHelper::RetinaHelper(wxWindow* window) : m_window(window), m_self(nullptr) {} @@ -2222,6 +2219,7 @@ void GLCanvas3D::render() render_autoslicing_wait(); if (fff_print()->finished() || fff_print()->empty()) { s_multiple_beds.autoslice_next_bed(); + wxYield(); } else { wxGetApp().plater()->schedule_background_process(); }