improve GUI responsivenes, turn off debug info

This commit is contained in:
Pavel Mikus 2022-08-19 14:21:36 +02:00 committed by PavelMikus
parent 3773de2957
commit 15d0c55d54
2 changed files with 4 additions and 2 deletions

View file

@ -15,8 +15,8 @@
#include "libslic3r/ClipperUtils.hpp" #include "libslic3r/ClipperUtils.hpp"
#include "Geometry/ConvexHull.hpp" #include "Geometry/ConvexHull.hpp"
#define DETAILED_DEBUG_LOGS //#define DETAILED_DEBUG_LOGS
#define DEBUG_FILES //#define DEBUG_FILES
#ifdef DEBUG_FILES #ifdef DEBUG_FILES
#include <boost/nowide/cstdio.hpp> #include <boost/nowide/cstdio.hpp>

View file

@ -393,6 +393,8 @@ void GLGizmoFdmSupports::data_changed()
ModelObject* mo = m_c->selection_info()->model_object(); ModelObject* mo = m_c->selection_info()->model_object();
if (mo && this->waiting_for_autogenerated_supports) { if (mo && this->waiting_for_autogenerated_supports) {
get_data_from_backend(); get_data_from_backend();
} else {
this->waiting_for_autogenerated_supports = false;
} }
} }