Fix Mac build

This commit is contained in:
Filip Sykala 2022-02-03 12:45:39 +01:00
parent e783086689
commit 546009a8e9
2 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,9 @@
#include "libslic3r/MapUtils.hpp"
#if defined(__APPLE__)
#include <wx/uri.h>
#include <CoreText/CTFont.h>
#include <wx/uri.h>
#include <wx/fontutil.h> // wxNativeFontInfo
#include <wx/osx/core/cfdictionary.h>
#elif defined(__linux__)
#include "slic3r/Utils/FontConfigHelp.hpp"

View File

@ -246,7 +246,7 @@ TEST_CASE("Simplify frog_legs.obj to 5% by IGL/qslim", "[]")
TriangleMesh mesh = load_model(obj_filename);
REQUIRE_FALSE(mesh.empty());
indexed_triangle_set &its = mesh.its;
double original_volume = its_volume(its);
//double original_volume = its_volume(its);
uint32_t wanted_count = its.indices.size() * 0.05;
Eigen::MatrixXd V(its.vertices.size(), 3);