From fa001801704fbc96c08a8160145e1f64789dd074 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 6 Mar 2020 14:44:06 +0100 Subject: [PATCH] Fixed uninitialized "Connected" flag of the Mouse3DController after refactoring. --- src/slic3r/GUI/Mouse3DController.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Mouse3DController.hpp b/src/slic3r/GUI/Mouse3DController.hpp index 5d6b5ba8c..e686e12cc 100644 --- a/src/slic3r/GUI/Mouse3DController.hpp +++ b/src/slic3r/GUI/Mouse3DController.hpp @@ -139,7 +139,7 @@ class Mouse3DController std::map m_params_by_device; mutable State m_state; - std::atomic m_connected; + std::atomic m_connected { false }; std::string m_device_str; #if ! __APPLE__