From ca0847d0ac2f4c16f9d0f442bf7a8dad3767a13c Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Tue, 23 May 2023 15:28:33 +0800 Subject: [PATCH] FIX: wxLog level in public version Change-Id: I9ff3829dcfd649120f422aed195ecea6cd37ddb1 --- src/slic3r/GUI/GUI_App.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index b994418b06..6b58db9830 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2273,6 +2273,9 @@ class wxBoostLog : public wxLog bool GUI_App::on_init_inner() { wxLog::SetActiveTarget(new wxBoostLog()); +#if BBL_RELEASE_TO_PUBLIC + wxLog::SetLogLevel(wxLOG_Message); +#endif // Set initialization of image handlers before any UI actions - See GH issue #7469 wxInitAllImageHandlers();