From 71b4c98de7dc81426025c2490baf8cdac3002abb Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sun, 22 Feb 2026 13:48:19 -0800 Subject: [PATCH] Fix logarithmic spiral not drawing if Inner Radius is 0 --- node-graph/libraries/vector-types/src/subpath/core.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/node-graph/libraries/vector-types/src/subpath/core.rs b/node-graph/libraries/vector-types/src/subpath/core.rs index c7a1c7ca..1a5a12ca 100644 --- a/node-graph/libraries/vector-types/src/subpath/core.rs +++ b/node-graph/libraries/vector-types/src/subpath/core.rs @@ -350,6 +350,7 @@ impl Subpath { let mut prev_in_handle = None; let theta_end = turns * std::f64::consts::TAU + start_angle; + let a = if spiral_type == SpiralType::Logarithmic { a.max(1e-10) } else { a }; let b = calculate_growth_factor(a, turns, outer_radius, spiral_type); let mut theta = start_angle;