Moving an anchor of a path with rounded corners (Direct Selection drag,
arrow keys, path.moveAnchor, path.moveAnchors) threw away the live shape
and left the arcs as plain anchors, so the corner widgets disappeared.
The move now goes to the anchor of the uncut outline the drawn anchor
comes from, and the corners are cut again at their radii and kinds. A
live rectangle or polygon becomes a path with live corners. When the
recut changes the anchor layout, the selection is remapped through the
uncut outline and selected segments are cleared.
A path still becomes plain when it has no rounded corner, when a live
rectangle is sheared or scaled unevenly, when an arrow-key nudge bends or
holds curved segments, or for a transform other than a move.
Part of #10545.
Another open dialog, such as New Swatch, keeps its own scrim over the
canvas while the picker is open. The doc line in docs/mcp.md and the
comment in dialogs/color_picker.rs now say so.
A `ui.dialog.set` with an `action` on the Preferences dialog replied with
the dialog's whole draft, so a folder preference outside the read root
showed its path, while `ui.inspect` leaves the same field out.
`preferences_method` now runs `leave_out_unreadable_folders` on the
snapshot under a read root, and `docs/mcp.md`'s `answer_dialog` row says
so.
View > Show Curvature Comb (view.curvatureComb) draws the curvature comb
of the selected paths, and of each path in a selected compound path,
while edges show. Each segment gets 16 evenly spaced teeth along the
normal, on the outer side of the bend, each as long as the curvature at
that point, and a line joins the tips in the path's layer color. A bend
with a radius of 100 screen points gives 20-point teeth at any zoom.
- vectorcraft-geom: curvature_comb samples the signed curvature of a
subpath. Straight segments give teeth of no length, points with no
direction give none, and the line through the tips breaks at those
points and at cusps between teeth.
- The comb draws at most 20,000 teeth, shared among the selected paths
by their number of segments, so a large selection gets fewer teeth
everywhere instead of losing whole stretches.
- The toggle is a view setting: it is not saved in the document, makes
no undo step and rejects parameters.
Docs: docs/mcp.md, ROADMAP progress log.
Fixes#10659
Live rectangle steps keep the first key's rotation and reflection. A
key whose transform still held a scale could pass the comparison with
a large scale on one axis hiding a difference on the other, and Align
to Path then folded that scale into each step, so its corners changed
shape along the spine. Only keys whose transforms are a rotation or a
reflection, the same for both, now take the live rectangle route; the
rest keep anchor matching.
Every dialog has a modal rank with a scrim, and the cover layer leaves the
scrim off only the canvas a dialog registers. The Color Picker opened from
the Color panel or a shortcut and the Color Balance, Vector
Halftone, Convert to Indexed Color, Step and Repeat, Transform Each and
Flatten Transparency dialogs registered no canvas, so the scrim darkened
the art while they previewed it. They now pass the current window's
canvas, as the effect (#10297) and transform (#10255) dialogs do.
The picker turns off canvas sampling, since the app does not take its
canvas eyedropper request: the wheel, a middle-button drag and a drag
with Space held still move the view under it, and other presses on the
canvas do not reach the tools.
Steps between two live rectangles were made by matching the keys'
anchors and moving each anchor and handle in a straight line. When the
keys' corners had different anchor layouts (a sharp rectangle and a
rounded one, or radii too large for one key), the steps' corners came
out as skewed curves, and every step lost its live rectangle.
Steps between two live rectangles with the same corner kinds and the
same rotation, reflection and shear are now live rectangles whose
width, height, position and corner radii lie between the keys'. Each
key's radii are the radii it draws, so a stored radius too large for
its rectangle counts as the largest that fits. A start anchor given for
either key, and every other pair, keep anchor matching.
Fixes#10707
A raster width or height that needs more than 64 or less than 0.01
pixels per point was written at the clamped size with no note. The
export now adds a warning naming the requested and the written size,
for MCP export and the CLI's --width and --height alike.
ui.dialog.confirm refuses an action whose button the open tab does not show. The ui.paramDialog params text (crates/mcp/src/ui_catalog.rs and crates/ui-egui/src/menus/ui_commands.rs) and docs/mcp.md now say so.