From 0f8658154b9c0f0d54566f71183b593463972198 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 11 Dec 2018 17:55:15 +0100 Subject: [PATCH] Fixing the crash with large model. --- src/libslic3r/SLA/SLASupportTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp index 6cab763cd..1914bed93 100644 --- a/src/libslic3r/SLA/SLASupportTree.cpp +++ b/src/libslic3r/SLA/SLASupportTree.cpp @@ -1370,7 +1370,7 @@ bool SLASupportTree::generate(const PointSet &points, add_base(cfg.base_height_mm, cfg.base_radius_mm); // connects to ground, eligible for bridging - cl_centroids.emplace_back(sidehead.id); + cl_centroids.emplace_back(c); } else { // Creating the bridge to the nearest pillar