superslicer-2.5.59.2-wxGTK-disable-asserts.patch 503 B

123456789101112131415
  1. diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp
  2. index e855b6290..2479bf054 100644
  3. --- a/src/slic3r/GUI/GUI_App.cpp
  4. +++ b/src/slic3r/GUI/GUI_App.cpp
  5. @@ -1128,6 +1128,9 @@ bool GUI_App::OnInit()
  6. bool GUI_App::on_init_inner()
  7. {
  8. + // Disable the wxWidgets asserts breakpoints, end users have no use for them.
  9. + wxSizerFlags::DisableConsistencyChecks();
  10. +
  11. // Set initialization of image handlers before any UI actions - See GH issue #7469
  12. wxInitAllImageHandlers();