Fix Mac build
This commit is contained in:
parent
e783086689
commit
546009a8e9
@ -2,8 +2,9 @@
|
|||||||
#include "libslic3r/MapUtils.hpp"
|
#include "libslic3r/MapUtils.hpp"
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#include <wx/uri.h>
|
|
||||||
#include <CoreText/CTFont.h>
|
#include <CoreText/CTFont.h>
|
||||||
|
#include <wx/uri.h>
|
||||||
|
#include <wx/fontutil.h> // wxNativeFontInfo
|
||||||
#include <wx/osx/core/cfdictionary.h>
|
#include <wx/osx/core/cfdictionary.h>
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
#include "slic3r/Utils/FontConfigHelp.hpp"
|
#include "slic3r/Utils/FontConfigHelp.hpp"
|
||||||
|
@ -246,7 +246,7 @@ TEST_CASE("Simplify frog_legs.obj to 5% by IGL/qslim", "[]")
|
|||||||
TriangleMesh mesh = load_model(obj_filename);
|
TriangleMesh mesh = load_model(obj_filename);
|
||||||
REQUIRE_FALSE(mesh.empty());
|
REQUIRE_FALSE(mesh.empty());
|
||||||
indexed_triangle_set &its = mesh.its;
|
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;
|
uint32_t wanted_count = its.indices.size() * 0.05;
|
||||||
|
|
||||||
Eigen::MatrixXd V(its.vertices.size(), 3);
|
Eigen::MatrixXd V(its.vertices.size(), 3);
|
||||||
|
Loading…
Reference in New Issue
Block a user