From 2d29b7d6cd061add96ebb01f5d19dc1bdcd9c024 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 14 Dec 2018 09:57:48 +0100 Subject: [PATCH] Fix msvc build --- src/libslic3r/SLA/SLABasePool.hpp | 3 ++- src/libslic3r/SLAPrint.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/SLA/SLABasePool.hpp b/src/libslic3r/SLA/SLABasePool.hpp index 07a76265a..62c4971eb 100644 --- a/src/libslic3r/SLA/SLABasePool.hpp +++ b/src/libslic3r/SLA/SLABasePool.hpp @@ -7,11 +7,12 @@ namespace Slic3r { class ExPolygon; +using ExPolygons = std::vector; + class TriangleMesh; namespace sla { -using ExPolygons = std::vector; using ThrowOnCancel = std::function; /// Calculate the polygon representing the silhouette from the specified height diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index 328dc5483..0c61b591b 100644 --- a/src/libslic3r/SLAPrint.cpp +++ b/src/libslic3r/SLAPrint.cpp @@ -564,7 +564,7 @@ void SLAPrint::process() if(!po.m_config.supports_enable.getBool()) elevation = 0; sla::PoolConfig pcfg(wt, h, md, er); - sla::ExPolygons bp; + ExPolygons bp; double pad_h = sla::get_pad_elevation(pcfg); auto&& trmesh = po.transformed_mesh();