Fix of an ASAN crash on app close (Linux)
This commit is contained in:
parent
bf12c7cb8c
commit
2618992c8b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue