diff --git a/src/libslic3r/Technologies.hpp b/src/libslic3r/Technologies.hpp index 2bd3e2b2aa..cef735db0c 100644 --- a/src/libslic3r/Technologies.hpp +++ b/src/libslic3r/Technologies.hpp @@ -7,6 +7,8 @@ // Shows camera target in the 3D scene #define ENABLE_SHOW_CAMERA_TARGET 0 +// Log debug messages to console when changing selection +#define ENABLE_SELECTION_DEBUG_OUTPUT 0 //============= // 1.42.0 techs diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 74a4724641..96d9ac4d5c 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -2116,6 +2116,7 @@ void GLCanvas3D::Selection::_update_type() v->disabled = requires_disable ? (v->object_idx() != object_idx) || (v->instance_idx() != instance_idx) : false; } +#if ENABLE_SELECTION_DEBUG_OUTPUT std::cout << "Selection: "; std::cout << "mode: "; switch (m_mode) @@ -2197,6 +2198,7 @@ void GLCanvas3D::Selection::_update_type() break; } } +#endif // ENABLE_SELECTION_DEBUG_OUTPUT } void GLCanvas3D::Selection::_set_caches()