Paths: a run across a closed path's start keeps the new start on that run

When a direct-selected run holds a closed path's first anchor, Simplify
and Smooth now look for the new start on that run alone, so an
unselected segment that passes through the old start is not split.
When the first anchor stays, the path already starts there and is left
as it is.
This commit is contained in:
dotCooCoo
2026-11-21 01:58:10 -08:00
parent 956a76baa6
commit 263718ffd2
2 changed files with 71 additions and 17 deletions
+2 -1
View File
@@ -7125,7 +7125,8 @@ the refit's anchor nearest that point. It runs the same way around as before. Wi
With segments of a path direct-selected (`select.segments`, or `select.anchors` with both anchors of a segment), Simplify
refits only each run of consecutive selected segments, between the run's end anchors: they stay where they are, with
their handles on the side away from the run, and every other anchor and segment of the path stays exactly as it was. A
closed path's run may cross its start point; the path then keeps its start as a whole path does. Separate runs on one path
closed path's run may cross its start point; the path then keeps its start as a whole path does, with the new start on
that run. Separate runs on one path
simplify independently, in one undo step, and the runs stay direct-selected (as segments when segments were picked).
A path with only lone anchors selected, and every path with `wholePaths: true`, simplifies whole: