From ecfc9153eb9116faa28d3d19524d481649f6576a Mon Sep 17 00:00:00 2001 From: Chetan Sahney Date: Fri, 13 Mar 2026 02:42:31 +0530 Subject: [PATCH] fix: prevent geometry shift in Auto-Tangents when spread is 0 --- node-graph/nodes/vector/src/vector_nodes.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/node-graph/nodes/vector/src/vector_nodes.rs b/node-graph/nodes/vector/src/vector_nodes.rs index dc3194c06d..1b50662370 100644 --- a/node-graph/nodes/vector/src/vector_nodes.rs +++ b/node-graph/nodes/vector/src/vector_nodes.rs @@ -903,6 +903,13 @@ async fn auto_tangents( for i in 0..manipulators_list.len() { let curr = &manipulators_list[i]; + + // Changes to the original logic: + if preserve_existing && spread == 0.0 + { + new_manipulators_list.push(*curr); + continue; + } if preserve_existing { // Check if this point has handles that are meaningfully different from the anchor