mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 01:48:13 +08:00
Fix 'Regular Polygon' and 'Star' shapes incorrectly having cubic handles, not linear (#3606)
Fix shape nodes creating cubic-curved polylines
This commit is contained in:
@@ -2155,7 +2155,7 @@ impl ShapeState {
|
||||
if polygon.len() < 2 {
|
||||
return (points_inside, segments_inside);
|
||||
}
|
||||
let polygon: Subpath<PointId> = Subpath::from_anchors_linear(polygon.to_vec(), true);
|
||||
let polygon: Subpath<PointId> = Subpath::from_anchors(polygon.to_vec(), true);
|
||||
Some(polygon)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user