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 no place to go on from, the dialog left out edit.findNext's from, so the search went on after the selected type object and passed over its matches: after Find selected a type object, changing the Find text skipped the matches in it. edit.findNext now starts at the first match for a null from, and the dialog sends one.
- 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
A point counts as on the path's outline when it is less than the
touching tolerance from it, with its distance from the path's center in
place of the distance between centers. The params text, docs/mcp.md and
the progress doc now say so, and say that every Tangents choice in the
dialog gives the same lines for a point.
Tests: a point half the tolerance inside and outside a circle gets the
one line there, and farther off gets none or two; a point placed on a
turned outline gets a line as long as the outline is wide along it; the
dialog previews the same two lines for every Tangents choice and keeps
them as one step, and a point inside changes nothing and says why.
- `Unit::parse` keeps main's paragraph about units after `*` and `/` as it
was; the new `x` paragraph follows it, and the limit line names the
signs it counts again.
- `object.path.offsetPath` takes `"0.05x2 in"` (0.1 in), which it refused
before; `"0x10"` reads as 0 pt. docs/mcp.md states both.
ui.dialog.confirm used to read a replace that is not a string as empty text, so Replace All could delete every match, and a switch that is not true or false as off. It now returns the error, which shows under the match found, and runs nothing; the match stays for Replace once the field is set right.
Align to Selection, Align to Key Object and Align to Artboard follow the
align items in Object › Align, with the choice the Align panel shows
checked. Each is a UI command (align.toSelection, align.toKeyObject,
align.toArtboard) that sets the choice as the panel's Align To button
does, and Edit › Keyboard Shortcuts lists them under Align with no
default key. align.toKeyObject fails with "no key object" when no
object can be made the key.