Skip to content

Commit 80c59cd

Browse files
fix : Auto-Tangents node with spread = 0 and preserve existing = true causes weird change
1 parent 7250b09 commit 80c59cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

node-graph/nodes/vector/src/vector_nodes.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,10 @@ async fn auto_tangents(
874874
#[default(true)]
875875
preserve_existing: bool,
876876
) -> Table<Vector> {
877+
if spread == 0. && preserve_existing {
878+
return source;
879+
}
880+
877881
source
878882
.iter()
879883
.map(|source| {

0 commit comments

Comments
 (0)