diff options
author | bubnikv <bubnikv@gmail.com> | 2020-03-13 16:57:45 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2020-03-13 16:57:45 +0300 |
commit | 98fc01afe77bdb408ecf7142215ce18333176996 (patch) | |
tree | ecd2eafe500d3f33e612d851255aa65c35d02602 /src/slic3r/GUI/RemovableDriveManager.cpp | |
parent | 9b26f8a18b214174b9749d7db44f5d57fcd2a6b0 (diff) |
Fix of compilation on OSX and Linux, update of camera after 3D mouse
disconnect moved to the main thread.
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.cpp')
-rw-r--r-- | src/slic3r/GUI/RemovableDriveManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp index 41f0175eb..17aa60997 100644 --- a/src/slic3r/GUI/RemovableDriveManager.cpp +++ b/src/slic3r/GUI/RemovableDriveManager.cpp @@ -440,7 +440,9 @@ void RemovableDriveManager::update() void RemovableDriveManager::thread_proc() { // Signal the worker thread to update initially. +#ifdef _WIN32 m_wakeup = true; +#endif // _WIN32 for (;;) { // Wait for 2 seconds before running the disk enumeration. |