Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-10-03 12:38:31 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-10-03 12:38:31 +0300
commit587effbedf754855134c52bb4aa1c6fb447ebb61 (patch)
tree38a702f3150f9b432d1e46570877941f957b8019 /src/slic3r/GUI/MainFrame.cpp
parenta5543040384541aa0a9ab15cb51d6e3446d36c03 (diff)
ENABLE_3DCONNEXION_DEVICES -> Refactored Mouse3DController to be unaware of current active GLCanvas3D
Diffstat (limited to 'src/slic3r/GUI/MainFrame.cpp')
-rw-r--r--src/slic3r/GUI/MainFrame.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp
index 615d7d8a9..eaf6944b6 100644
--- a/src/slic3r/GUI/MainFrame.cpp
+++ b/src/slic3r/GUI/MainFrame.cpp
@@ -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.