Merge pull request #7894 from dotCooCoo/fix/issue-7849

Pathfinder: Make Compound Shape warns when a line adds no area
This commit is contained in:
BFlat
2026-11-19 00:39:34 +07:00
committed by GitHub
29 changed files with 192 additions and 3 deletions
+3 -1
View File
@@ -5752,7 +5752,9 @@ envelopes) the members of one live compound shape, each in shape mode `mode` (`"
as its steps, an envelope as its distorted art, an object with a warp or another geometry effect as it draws, each
updated when the member is edited), painted with its own
appearance, which it takes from the topmost member not in Subtract (with every member subtracting, the backmost); a
fill or stroke given to it or to a member paints the compound shape. The members stay editable (Direct Selection,
fill or stroke given to it or to a member paints the compound shape. Open paths are closed, so a straight line encloses
no area and contributes no area to the shape. When a member is or holds such a path, the reply's `warning` says so
and names Object › Path › Outline Stroke. The members stay editable (Direct Selection,
the Layers panel, isolation mode). `object.compoundShape.setMode {mode, ids?}` sets the mode of the members the
selection is or is in, `object.compoundShape.release` gives the members back as they were, and
`object.compoundShape.expand` turns each compound shape into the path, or compound path, of its area. A saved file