summaryrefslogtreecommitdiff
path: root/media-gfx/prusaslicer/files/prusaslicer-2.6.0-disable-noisy-asserts.patch
blob: 0e3d1d3405726b0d81c36af8e57f2d47bd331769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp
index e855b6290..2479bf054 100644
--- a/src/slic3r/GUI/GUI_App.cpp
+++ b/src/slic3r/GUI/GUI_App.cpp
@@ -1128,6 +1128,9 @@ bool GUI_App::OnInit()
 
 bool GUI_App::on_init_inner()
 {
+    // Disable the wxWidgets asserts breakpoints, end users have no use for them.
+    wxSizerFlags::DisableConsistencyChecks();
+
     // Set initialization of image handlers before any UI actions - See GH issue #7469
     wxInitAllImageHandlers();