diff options
author | Jelle Spijker <j.spijker@ultimaker.com> | 2022-04-20 18:01:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 18:01:12 +0300 |
commit | 5b35ee7ca5797a542541d2c67e492c1dad861c15 (patch) | |
tree | f7056d215d07d8f41f7aeb4afab0047cf3943719 | |
parent | 275cc97732c0c63e48c380087429d1c5ce3ad857 (diff) |
Update src/TreeSupport.cpp
-rw-r--r-- | src/TreeSupport.cpp | 2 |
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 |