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 "Geometry/ConvexHull.hpp"
#define DETAILED_DEBUG_LOGS
#define DEBUG_FILES
//#define DETAILED_DEBUG_LOGS
//#define DEBUG_FILES
#ifdef DEBUG_FILES
#include <boost/nowide/cstdio.hpp>

View File

@ -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;
}
}