From 5de670c1b83295b24cbd4f2cccb2dcd02f3d8a92 Mon Sep 17 00:00:00 2001 From: Filip Sykala Date: Wed, 30 Mar 2022 09:27:55 +0200 Subject: [PATCH] Try to reduce includes in 3mf.cpp on boost --- src/libslic3r/Format/3mf.cpp | 10 +++++----- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libslic3r/Format/3mf.cpp b/src/libslic3r/Format/3mf.cpp index 4d669f9a73..6c643d22bc 100644 --- a/src/libslic3r/Format/3mf.cpp +++ b/src/libslic3r/Format/3mf.cpp @@ -21,18 +21,18 @@ #include #include -#include +//#include // not used #include -#include +//#include // not used #include -#include +//#include // not used #include #include #include -#include +//#include // inside xml_parser.hpp #include -#include +//#include // not used namespace pt = boost::property_tree; #include diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index 7526ca04cd..0451576ab6 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -749,7 +749,7 @@ bool GLGizmoEmboss::process() // no volume is selected -> selection from right panel if (m_volume == nullptr) return false; - // without text there is no to emboss + // without text there is nothing to emboss if (m_text.empty()) return false; // exist loaded font @@ -759,7 +759,7 @@ bool GLGizmoEmboss::process() if (!font.has_value()) return false; auto &worker = wxGetApp().plater()->get_ui_job_worker(); - // Can't use cancel, because I want cancel only previous update job + // Can't use cancel, because I want cancel only previous EmbossUpdateJob // worker.cancel(); // Cancel only EmbossUpdateJob no others