Fix mac include on in WxFontUtils, fix missing include in debug mode

This commit is contained in:
Martin Šach 2024-07-08 11:39:05 +02:00 committed by Lukas Matena
parent 919740fb3e
commit 76231632a5
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,10 @@
#include "libslic3r/Arachne/utils/ExtrusionJunction.hpp"
#include "libslic3r/Arachne/utils/ExtrusionLine.hpp"
#ifndef NDEBUG
#include "libslic3r/EdgeGrid.hpp"
#endif
#define SKELETAL_TRAPEZOIDATION_BEAD_SEARCH_MAX 1000 //A limit to how long it'll keep searching for adjacent beads. Increasing will re-use beadings more often (saving performance), but search longer for beading (costing performance).
namespace Slic3r::Arachne

View File

@ -10,6 +10,7 @@
#include <optional>
#include <vector>
#include "libslic3r/Utils.hpp" // IWYU pragma: keep
#include "libslic3r/Emboss.hpp"
#include "libslic3r/Exception.hpp"
@ -357,4 +358,4 @@ std::unique_ptr<Emboss::FontFile> WxFontUtils::set_bold(wxFont &font, const Embo
// There is NO bold font by wx
font.SetWeight(orig_weight);
return nullptr;
}
}