- A knockout, clip or blend-mode merge being tried may use the whole
import allowance beyond what was read before it. A merge that is made
must still fit the allowance with everything read before it.
- A knockout that turns out to cut nothing moves what its drawing read
out of the allowance, as a merge that isn't made does. A hidden one
also forgets what its drawing counted, so a later merge that leaves it
out reports only the hidden layer.
- A hidden layer in a mode VectorCraft lacks is left out before any
knockout drawing, as before the knockout merge.
- A knockout at 0 fill whose painted pixels lie outside the bounds of
every layer below it is kept apart before their canvas is made.
- A knockout at 0 fill whose pixels cover none of the painted pixels below
it is no longer merged with them.
- A hidden knockout is left out only when its merge would be made or is
too large, so one whose layer mask hides all of it comes in with
hiddenLayers. What drawing it counted is forgotten when it is left out.
- The pixels and canvases of a merge that isn't made are counted against
a separate limit of the same size, so the layers can still be read
apart afterward.
- docs: the memory-limit fallback for knockouts is listed with the
knockouts that aren't applied.
An image placed from a PSD or PSB file that names a clipping path comes
in a clip group of that path, and its image is kept as a PNG (or, for a
CMYK file, a TIFF) that holds the path. Unembed writes that file as
stored, but the file was read back without the path, so Unembed turned
the clip group into a plain group, and File > Open, File > Place,
Relink and Update Links of the written file gave an unclipped image.
The shared loader now reads the path a PNG or TIFF keeps, so these
commands keep the clip group, for Unembed with a path and with a folder.
- With the Artboard tool chosen, align.toKeyObject fails with "Align to
Key Object isn't available with the Artboard tool" instead of "no key
object": the selected objects can still have a key in that state. The
message has a row in every catalog that has "no key object".
- Align to Key Object is off in Object › Align and the Align panel when
the topmost selected object is inside another selected object, the
case where choosing it already failed.
- The align.toSelection params text says the selected objects keep
their key with the Artboard tool chosen; ui_catalog.rs regenerated.
- A test pins Align to Key Object with a key anchor: checked, the menu
name kept, and the key anchor kept.
recolor.apply with `group` rewrote the group by place: the new colors went
to its swatches in order, so a gradient, pattern or None swatch in the group
took a color or was removed, at OK and in the live preview.
The group's colors, from the rows or from `groupColors`, now go to its color
swatches in order, and every other swatch keeps its place and its paint.
`groupColors` counts the color swatches only, as the dialog already does
when it lists a group's colors. swatch.editGroup is unchanged.
`transform` read `reflect` with `as_str`, `copy` with `as_bool` and
passed `origin` through unchecked. A `reflect` of `42` or `true`
skipped the reflect step and reported success for the steps before it,
a `copy` of `"yes"` transformed the original instead of a copy, and an
`origin` that was not two numbers fell back to the selection centre.
The handler now checks all three before it selects `ids` or runs a
step, and returns an error that names the argument. A null value of
any of the three is left out. The tool description and the
`transform` row in docs/mcp.md say so.
Fixes#6448