mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
ENABLE_3DCONNEXION_DEVICES -> Refactored Mouse3DController to be unaware of current active GLCanvas3D
This commit is contained in:
parent
a554304038
commit
587effbedf
8 changed files with 75 additions and 42 deletions
|
@ -111,10 +111,6 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_S
|
|||
}
|
||||
|
||||
if(m_plater) m_plater->stop_jobs();
|
||||
#if ENABLE_3DCONNEXION_DEVICES
|
||||
if (m_plater != nullptr)
|
||||
m_plater->get_mouse3d_controller().set_canvas(nullptr);
|
||||
#endif // ENABLE_3DCONNEXION_DEVICES
|
||||
|
||||
// Weird things happen as the Paint messages are floating around the windows being destructed.
|
||||
// Avoid the Paint messages by hiding the main window.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue