From 8de3babdb0a6360b477956ba3b0cb4501e9ff877 Mon Sep 17 00:00:00 2001 From: Thomas Rahm <67757218+ThomasRahm@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:11:01 +0200 Subject: [PATCH] Restore a small change mistakenly undone by a previous commit. --- src/TreeSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TreeSupport.cpp b/src/TreeSupport.cpp index ead27ed820..8268bc2e9c 100644 --- a/src/TreeSupport.cpp +++ b/src/TreeSupport.cpp @@ -2023,7 +2023,7 @@ void TreeSupport::filterFloatingLines(std::vector& support_layer_storage) return; } - Shape relevant_forbidden = volumes_.getCollision(0, layer_idx, true); + const Shape& relevant_forbidden = volumes_.getCollision(0, layer_idx, true); Shape outer_walls = TreeSupportUtils::toPolylines(support_layer_storage[layer_idx - 1].getOutsidePolygons()).createTubeShape(closing_dist, 0); Shape holes_below;