From aadc989134268df2344ebd010a98a4e729365cc7 Mon Sep 17 00:00:00 2001 From: James Lindsay <78500760+0HyperCube@users.noreply.github.com> Date: Wed, 14 Jan 2026 10:31:18 +0000 Subject: [PATCH] Include path endpoints as extrema in the Extrude node (#3469) * Include single connected points as extrema in the extrude node * Update styling of loading indicator --------- Co-authored-by: Keavon Chambers --- frontend/index.html | 8 ++++++++ node-graph/nodes/vector/src/vector_nodes.rs | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index ccaf55e4..999465cf 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -44,6 +44,14 @@ border: 4px solid #eee; border-color: #eee transparent #eee transparent; animation: spinning-loading-indicator 1s linear infinite; + + @media (prefers-reduced-motion) { + border: none; + animation: none; + content: "Loading…"; + font-family: Arial, sans-serif; + font-size: 24px; + } } @keyframes spinning-loading-indicator { diff --git a/node-graph/nodes/vector/src/vector_nodes.rs b/node-graph/nodes/vector/src/vector_nodes.rs index 81431f5a..85885a20 100644 --- a/node-graph/nodes/vector/src/vector_nodes.rs +++ b/node-graph/nodes/vector/src/vector_nodes.rs @@ -712,7 +712,8 @@ pub mod extrude_algorithms { let mut next_segment = vector.segment_domain.next_id(); for (index, &point) in points.iter().enumerate().take(first_half_points) { - if point != Found::Both { + // Extrema are single connected points or points with both positive and negative values + if !matches!(point, Found::Both | Found::Positive | Found::Negative) { continue; }