From 4ffe3278bee9bd7441fd3a5410376cd0586947db Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 12 Jun 2019 17:09:40 +0200 Subject: [PATCH] Hotfix for pad shape deduction. --- src/libslic3r/SLA/SLASupportTree.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp index c2540ba28..4910226cc 100644 --- a/src/libslic3r/SLA/SLASupportTree.cpp +++ b/src/libslic3r/SLA/SLASupportTree.cpp @@ -580,9 +580,8 @@ struct Pad { for (const ExPolygon &bp : platetmp) basep.emplace_back(bp.contour); - if(pcfg.embed_object) { - auto modelbase_sticks = modelbase; + ExPolygons modelbase_sticks = modelbase; if (pcfg.embed_object.object_gap_mm > 0.0) modelbase_sticks @@ -591,7 +590,7 @@ struct Pad { / SCALING_FACTOR)); for(auto& poly : modelbase_sticks) { - basep.emplace_back(poly); + basep.emplace_back(poly.contour); sla::breakstick_holes( poly, pcfg.embed_object.object_gap_mm, // padding