mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 06:49:00 +08:00
Fix of an ASAN crash on app close (Linux)
This commit is contained in:
parent
bf12c7cb8c
commit
2618992c8b
@ -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…
x
Reference in New Issue
Block a user