Files
vectorcraft/crates/engine/src/tests
dotCooCoo 22b169a905 Scripts: a group's pathItems.removeAll() walks only the group
removeAll() on a layer's or group's pathItems walked every object in the
document to check clipping paths, even when the collection was empty or
held two paths. It now walks the container's own objects, or, when the
container sits in the clipping path of a clipping group, the subtree of
the highest such clipping path and the group it clips. An empty
collection walks nothing. The document's own pathItems.removeAll() still
checks every object.

A scoped removeAll() now also throws when a path id in the list resolves
to an object outside the container, which a damaged file with repeated
ids can cause, instead of deleting that other object.

The walk came in with #9288 ("Scripts: paths, path points and colors
for scripts").
2026-12-04 17:29:42 -08:00
..
2026-11-26 19:58:54 +05:30