From 15d0c55d54121d02409ff861025ca7af8e4760e7 Mon Sep 17 00:00:00 2001 From: Pavel Mikus Date: Fri, 19 Aug 2022 14:21:36 +0200 Subject: [PATCH] improve GUI responsivenes, turn off debug info --- src/libslic3r/SupportSpotsGenerator.cpp | 4 ++-- src/slic3r/GUI/Gizmos/GLGizmoFdmSupports.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/SupportSpotsGenerator.cpp b/src/libslic3r/SupportSpotsGenerator.cpp index c7fd7e882..eced07b2c 100644 --- a/src/libslic3r/SupportSpotsGenerator.cpp +++ b/src/libslic3r/SupportSpotsGenerator.cpp @@ -15,8 +15,8 @@ #include "libslic3r/ClipperUtils.hpp" #include "Geometry/ConvexHull.hpp" -#define DETAILED_DEBUG_LOGS -#define DEBUG_FILES +//#define DETAILED_DEBUG_LOGS +//#define DEBUG_FILES #ifdef DEBUG_FILES #include diff --git a/src/slic3r/GUI/Gizmos/GLGizmoFdmSupports.cpp b/src/slic3r/GUI/Gizmos/GLGizmoFdmSupports.cpp index 2ed7ae679..513a655ec 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoFdmSupports.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoFdmSupports.cpp @@ -393,6 +393,8 @@ void GLGizmoFdmSupports::data_changed() ModelObject* mo = m_c->selection_info()->model_object(); if (mo && this->waiting_for_autogenerated_supports) { get_data_from_backend(); + } else { + this->waiting_for_autogenerated_supports = false; } }