A batch run during a widget drag settles the drag first. A tool or
document switch inside the batch then ended the drag with a Cancel,
which undid the batch's open interaction and its earlier steps in that
document. Deactivating a tool in a batch now leaves the Cancel out, for
the blend, corner, pie and side widgets alike.
`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
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.
ui.paramDialog for edit.findReplace used to drop a field of the wrong type, such as a number for find, and open on the last search. It now returns an error and leaves the dialog closed. A null field still gives none, as the menu item's does.
The transform tool runs move, rotate, scale, reflect and shear as separate
commands. A shear angle that object.shear refuses, such as 90, a reflect
axis other than vertical or horizontal, or a scale of 0 failed only after
the earlier steps had changed the art and recorded undo steps. The tool now
checks those params first with the rules the commands use
(scale_factors, reflect_axis and shear_tangent, shared with object.scale,
object.reflect and object.shear), so a refused request changes nothing and
records no undo step.
crates/mcp/src/ui_catalog.rs is generated from the desktop UI command
table, and was not regenerated after symbolOptions gained edit and
keepArt. cargo xtask ui-commands regenerates it, and
cargo xtask ui-commands --check passes.
A scatter brush takes a Hue Jitter amount from 0 to 180 degrees (0 by
default). Each copy turns the hue of its solid fills and strokes, type
included, by its own amount up to that far either way, after the
colorization. The amounts come from the stroke's path and the brush
name, so a stroke draws the same colors on every redraw, after Save and
Open, and in export. Copies keep their places, sizes and rotations.
A color turns in its own model (RGB in the HSB of its values, CMYK over
C, M and Y with K kept, Lab by turning a and b). White, black and grays
stay as they are, and a symbol instance in the art turns only its stain.
A brush at 0 draws its copies in the colors the colorization gives them
and saves no hue_jitter key; a brush without the key reads as 0.
- brush.options takes hue_jitter, and brush.get shows it for every
scatter brush. Brush Options shows a Hue Jitter field (ui.brushOptions
field hueJitter) with rows in every catalog.
- The .ai editing data writer does not write the amount, so a jittered
brush is left out of the Brushes panel there and reported, as other
brushes that would open with other settings are.
Docs: docs/mcp.md, docs/target-app-parity.md.
The SVG export options on the help page list a Show in browser option
beside Show Code, which displays the image in the default web browser:
https://helpx.adobe.com/illustrator/desktop/save-and-export/export-files-to-different-formats/export-file-format-options-in-illustrator.html
SVG Options gets a Show in Browser button beside Show Code. It writes
the SVG of the dialog's current, unconfirmed choices for one page (the
selection's crop under Export Selection, otherwise the first artboard
the options choose) to a new folder inside "VectorCraft SVG Preview" in
the system's temporary folder and opens it (file.export.svg.browser).
The dialog stays open, the choices are not remembered, and nothing is
written to the chosen file. The folder follows Save for Web's preview
folders: a private folder per preview, and folders an hour old are
removed; each kind removes only its own. The button is disabled on the
web build, and control and MCP requests are refused, as Save for Web's
Preview in Browser is.
Show Code and Show in Browser share one encoding step, so Show Code
changes in two ways. A range that OK refuses now shows OK's error:
before, Show Code showed the first artboard's code for a range it could
not read, and the first artboard named for a range such as "1, 9" when
the document has no artboard 9. A range naming one missing artboard was
already an error, with a different message. From Save As or Save a
Copy, both keep hidden layers, as the save does. A document with no
artboards shows the bounds of its art.