From 415e65f5f5d815e6244df2eadae89073ff22dda1 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 21 Jul 2018 23:13:46 -0500 Subject: [PATCH] Compile out functions not used in perl build --- xs/src/libslic3r/Print.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/libslic3r/Print.hpp b/xs/src/libslic3r/Print.hpp index ce382cbec..1c716eaa5 100644 --- a/xs/src/libslic3r/Print.hpp +++ b/xs/src/libslic3r/Print.hpp @@ -211,10 +211,12 @@ class PrintObject PrintObject(Print* print, ModelObject* model_object, const BoundingBoxf3 &modobj_bbox); ~PrintObject(); +#ifndef SLIC3RXS /// Outer loop of logic for horizontal shell discovery void _discover_external_horizontal_shells(LayerRegion* layerm, const size_t& i, const size_t& region_id); /// Inner loop of logic for horizontal shell discovery void _discover_neighbor_horizontal_shells(LayerRegion* layerm, const size_t& i, const size_t& region_id, const SurfaceType& type, Polygons& solid, const size_t& solid_layers); +#endif // SLIC3RXS };