mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
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 <keavon@keavon.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user