Try to reduce includes in 3mf.cpp on boost

This commit is contained in:
Filip Sykala 2022-03-30 09:27:55 +02:00
parent 394a59d44f
commit 5de670c1b8
2 changed files with 7 additions and 7 deletions

View File

@ -21,18 +21,18 @@
#include <boost/assign.hpp>
#include <boost/bimap.hpp>
#include <boost/algorithm/string/classification.hpp>
//#include <boost/algorithm/string/classification.hpp> // not used
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/predicate.hpp>
//#include <boost/algorithm/string/predicate.hpp> // not used
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem/operations.hpp>
//#include <boost/filesystem/operations.hpp> // not used
#include <boost/spirit/include/karma.hpp>
#include <boost/spirit/include/qi_int.hpp>
#include <boost/log/trivial.hpp>
#include <boost/property_tree/ptree.hpp>
//#include <boost/property_tree/ptree.hpp> // inside xml_parser.hpp
#include <boost/property_tree/xml_parser.hpp>
#include <boost/foreach.hpp>
//#include <boost/foreach.hpp> // not used
namespace pt = boost::property_tree;
#include <expat.h>

View File

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