mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 11:45:56 +08:00
Try to reduce includes in 3mf.cpp on boost
This commit is contained in:
parent
394a59d44f
commit
5de670c1b8
@ -21,18 +21,18 @@
|
|||||||
#include <boost/assign.hpp>
|
#include <boost/assign.hpp>
|
||||||
#include <boost/bimap.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/split.hpp>
|
||||||
#include <boost/algorithm/string/predicate.hpp>
|
//#include <boost/algorithm/string/predicate.hpp> // not used
|
||||||
#include <boost/algorithm/string/replace.hpp>
|
#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/karma.hpp>
|
||||||
#include <boost/spirit/include/qi_int.hpp>
|
#include <boost/spirit/include/qi_int.hpp>
|
||||||
#include <boost/log/trivial.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/property_tree/xml_parser.hpp>
|
||||||
#include <boost/foreach.hpp>
|
//#include <boost/foreach.hpp> // not used
|
||||||
namespace pt = boost::property_tree;
|
namespace pt = boost::property_tree;
|
||||||
|
|
||||||
#include <expat.h>
|
#include <expat.h>
|
||||||
|
@ -749,7 +749,7 @@ bool GLGizmoEmboss::process()
|
|||||||
// no volume is selected -> selection from right panel
|
// no volume is selected -> selection from right panel
|
||||||
if (m_volume == nullptr) return false;
|
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;
|
if (m_text.empty()) return false;
|
||||||
|
|
||||||
// exist loaded font
|
// exist loaded font
|
||||||
@ -759,7 +759,7 @@ bool GLGizmoEmboss::process()
|
|||||||
if (!font.has_value()) return false;
|
if (!font.has_value()) return false;
|
||||||
|
|
||||||
auto &worker = wxGetApp().plater()->get_ui_job_worker();
|
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();
|
// worker.cancel();
|
||||||
|
|
||||||
// Cancel only EmbossUpdateJob no others
|
// Cancel only EmbossUpdateJob no others
|
||||||
|
Loading…
x
Reference in New Issue
Block a user