Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Spijker <j.spijker@ultimaker.com>2022-04-20 18:01:12 +0300
committerGitHub <noreply@github.com>2022-04-20 18:01:12 +0300
commit5b35ee7ca5797a542541d2c67e492c1dad861c15 (patch)
treef7056d215d07d8f41f7aeb4afab0047cf3943719
parent275cc97732c0c63e48c380087429d1c5ce3ad857 (diff)
Update src/TreeSupport.cpp
-rw-r--r--src/TreeSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TreeSupport.cpp b/src/TreeSupport.cpp
index 157dc3eb1..fd6b1f47f 100644
--- a/src/TreeSupport.cpp
+++ b/src/TreeSupport.cpp
@@ -366,7 +366,7 @@ void TreeSupport::dropNodes(std::vector<std::vector<Node*>>& contact_nodes)
}
//If the branch falls completely inside a collision area (the entire branch would be removed by the X/Y offset), delete it.
- Polygons collision = volumes_.getCollision(0, layer_nr);
+ const Polygons collision = volumes_.getCollision(0, layer_nr);
if (group_index > 0 && collision.inside(node.position))
{
const coord_t branch_radius_node = [&]() -> coord_t