From a1f45c9a92ebff894cc77fc1ab06e77cfa49679c Mon Sep 17 00:00:00 2001 From: "jiaxi.chen" Date: Wed, 30 Apr 2025 15:25:44 +0800 Subject: [PATCH] FIX: nodes in same pos overlap jira: STUDIO-11631 Change-Id: I9108b525038ad181c4875a659547b06dd14b240c --- src/libslic3r/Support/TreeSupport.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libslic3r/Support/TreeSupport.cpp b/src/libslic3r/Support/TreeSupport.cpp index 6ad3aabb8..245705dc0 100644 --- a/src/libslic3r/Support/TreeSupport.cpp +++ b/src/libslic3r/Support/TreeSupport.cpp @@ -2854,6 +2854,8 @@ void TreeSupport::drop_nodes() } if (node.to_buildplate || parts.empty()) //It's outside, so make it go towards the build plate. { + if (nodes_per_part[0][node.position]) + p_node->position += Point(1, 1); nodes_per_part[0][node.position] = p_node; continue; } @@ -2888,6 +2890,8 @@ void TreeSupport::drop_nodes() } } //Put it in the best one. + if (nodes_per_part[closest_part + 1][node.position]) + p_node->position += Point(1, 1); nodes_per_part[closest_part + 1][node.position] = p_node; //Index + 1 because the 0th index is the outside part. }