A Color Picker opened from a dialog's color (an effect's color, a
command form's color or a Document Setup grid color) now carries the
number that ui.sampleScreenColor uses to find the open picker. Its
eyedropper sends the sampled color to that picker instead of failing
with "the Color Picker is not open".
When Document Setup's gridColors field holds a preset name (any case, as
document.setup takes it), the Transparency tab now replaces it with the
preset's two colors. The hex fields show them, a color box opens the
Color Picker on its color instead of white, and the picker's OK sets that
color instead of failing with "no such color".
A click on a Transparency Grid color box whose press and release arrive
in one frame, while that color's hex field holds an edit, ends the edit
in the same frame. The box now records only which color was clicked, and
the Color Picker opens after the row on the color Document Setup holds
then, so it opens on the edited color and an unchanged OK keeps it.
Before, the picker opened on the color from before the edit and its OK
wrote that color back over the edit.
A hex field's edit also replaces its color in the pair Document Setup
holds when it commits, so a Grid Colors preset chosen in the same frame
keeps its other color.
On the Transparency tab, a click on either color box beside Grid Colors,
or Enter or Space with the keyboard on it, opens the Color Picker over
Document Setup on that color. The picker's OK sets only that entry of
gridColors and goes back to Document Setup, whose Grid Colors menu then
names the pair (Custom unless it matches a preset); Document Setup's OK
applies it in one undo step. The picker's Cancel leaves both colors as
they were. Each box is a focusable button named for its color.
A damaged .ai can give a gradient mesh whose outline is enormous but finite.
draw_mesh_raster flattened that whole outline in device pixels (grown_outline),
and kurbo's flatten then asked for more segments than memory holds: a
"capacity overflow" panic (seen in import_fuzz's ai_written_meshes_never_panic).
An outline wider or taller than 2^24 device pixels now goes to the per-quad
drawing path the function already falls back to.
A third quick click on a swatch counts as a triple click, and so does
each quick click after it. Those clicks still applied the swatch, so a
triple click on a pattern swatch opened pattern editing and then
painted the tile art with the pattern itself. Only the first click of
a run of quick clicks now applies and selects the swatch.
The test now sends four quick clicks and gives the art a solid fill in
each view, so the list view's first click is checked on its own.
Running a script or a plug-in now ends the spot color base's link, as a
batch step already did, so a script that deletes the spot color and makes
another of the same name does not make the new one the base. Commands that
only list scripts or plug-ins keep the link.
While the link waits for an Undo, the color it captures before a command is
the one the guide shows, not that of a new spot color of the same name.
The second click of a double-click on a swatch also counted as a plain
click. After the double-click opened pattern editing, which selects the
tile art, that click applied the pattern swatch to the tile, so the
pattern held a copy of itself. The second click now only opens the
editor; the first click still applies and selects the swatch.
Reported by erolkarino. #7164 by mockydevs makes the engine refuse
painting the tile with its own pattern; this change stops the swatch
panel from sending that paint on a double-click.
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, and
Edit › Keyboard Shortcuts › Tools lists it once. It has no default
shortcut, and the Lasso keeps Q. A toolbar the user already edited
keeps its saved layout; Reset Toolbar adds the tool.
Fixes#6117