Fill Area: a path left out of the search stops an area only when it reaches it

When the paths together are over the segment limit, the search maps the
paths near the point and leaves out the ones with the most segments. A
path left out made the search give up on an area when it came within the
gap plus 1 pt of the area's outline, so with Gap Detection off a long line
0.75 pt outside a square stopped a click inside the square from filling
it. A gap bridge reaches at most the gap, so the check now uses the gap
plus the map's 0.05 pt contact tolerance. The 1 pt padding still decides
which paths the search picks.
This commit is contained in:
dotCooCoo committed 2026-11-25 13:02:16 -08:00
1 parent 788365db28
commit 0c65a8442b
3 files changed
+44 -5

No files matched your search

+3 -1
View File
@@ -14082,7 +14082,9 @@ Objects on Path group, is a layer or group with a live effect or a clipping mask
inside an envelope. A point in no enclosed area is the error "Fill Area: no enclosed area under the pointer" and records no undo
step; a `gap` outside 0 to 72 is an error. It returns `{id, above}`. The command looks for the area among the paths
near the point first. When the paths together have more than 65,536 segments and the paths near the point do not
enclose it, the point counts as in no enclosed area.
enclose it, the point counts as in no enclosed area. A path that this search leaves out to stay within that limit
stops the command from finding the area only when it crosses the area or comes within the gap plus 0.05 pt of its
outline.
```json
{"name":"run_command","arguments":{"command":"shapeBuilder.copyRegion","params":{"point":[50,70],"gap":3}}}