From 2618992c8b8627dbe1726a9f8c9de2b3309574bd Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Mon, 9 Nov 2020 14:00:38 +0100 Subject: [PATCH] Fix of an ASAN crash on app close (Linux) --- src/slic3r/GUI/MainFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index b2ff35fa15..0a6ad968e4 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -241,7 +241,7 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_S // OSX specific issue: // When we move application between Retina and non-Retina displays, The legend on a canvas doesn't redraw // So, redraw explicitly canvas, when application is moved -#ifdef ENABLE_RETINA_GL +#if ENABLE_RETINA_GL Bind(wxEVT_MOVE, [this](wxMoveEvent& event) { wxGetApp().plater()->get_current_canvas3D()->set_as_dirty(); wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();