The refusal for a live geometry effect applies when deleting the paths
turns a non-empty clipping region into an empty one. A region the effect
already left empty does not count as that change.
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
The check that an image or placed-document frame still encloses an area
now measures each subpath from its own first point, so a tiny frame far
from the origin is not lost to roundoff and a collapsed frame is not
counted through roundoff.
When a live geometry effect, such as an Offset Path inset, would leave
no clipping region once the paths are deleted, removeAll() now throws and
deletes nothing. The preflight copies only the members that hold a path
being deleted.
The edit field read the focus of the field's outer response, which never
holds the keyboard focus: the focus sits on the field's text part. A
click elsewhere or Tab out of a palette's or dialog's edit field then did
not give the typed text to the script. The field now reads the text
part's focus loss (`text_lost_focus`).
The focus-loss test drives the focus with Tab through egui instead of
calling the commit helper, and fails without the fix.
The retry docs in the script.palette.event help, docs/mcp.md and the
progress-doc entry name the recoveryFolder and recoveryOffForComplex
preferences, the two recovery preferences whose change starts the
waiting events again.
The document's pathItems.removeAll() refused to delete paths from a group
that is a clipping path when an image or placed document stayed inside
that group, although the image's frame still clips. It now counts the frame
of a visible image or placed document as clipping geometry when the frame
encloses an area, as Node::clip_shapes does, and still refuses when the
frame is collapsed to a line.
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
- A DWG placed while it is converted goes on the layer that was current
when Place started and, with `replace`, in place of the object selected
then, selected again unless it changed meanwhile. A layer the user made
current since stays current, as for other files read for Place.
- Place's checks run before the conversion starts, so a bad param or a
selection Replace can't swap (several objects, part of a symbol
instance) is reported at once and nothing is converted.
- The open progress window shows a DWG drawing being converted.
`file.cancelOpen` drops the conversion, so its dialog never opens, and
`file.openInBackground` closes the window while it goes on in the
status bar. Both commands' help text and `docs/mcp.md` say so.
Follow-up to the review of #9147 (script palettes):
- A waiting click or change that can no longer run (its control was
disabled, hidden or removed by an earlier handler) is dropped before
the open edit is settled, so it no longer commits or cancels a drag
in the active document with no handler run.
- A palette title or other getter that hides or closes the palette
while the palette is being described no longer sends that
description to the host: the host keeps the controls the palette had
when it was hidden.
- A typed text that matches the field's stored text is still given to
the script, before a click, a close or on focus loss, when another
change of that field waits, so the handler reads the typed text and
not the waiting change.
- After a palette event's run fails to begin, the app does not retry
and ask for a frame on every pass. It tries again after the next
input in the window, another palette event, or a change to the
documents' edit state, the active document or the recovery settings.
- The print test now checks that the click's handler ran after the
print jobs were canceled, and the list test only fails when the
earlier item's text changed.
OK returns a new object of the color given only when both the color and
its model are unchanged; a model-only change is a new pick. The progress
line, docs/mcp.md and the script.run params text now say so.
The selection fill eligibility entry now says that its "nothing else
there" rule covers ordinary picking and points to the #9175 entry for
Select Behind. The #9175 entry no longer says Select Behind lists
unfilled paths after painted ones: it steps through them with the other
objects under the pointer, as `object_behind` does through `leaves_at`.
A straight segment cleared the direction the comb carries from segment to
segment, so a curve that ended heading one way and a line that went back the
other way, or a line followed by a curve that turned back on it, kept one
line through the tips across the cusp. A straight segment now carries its
chord's direction, and the comb starts a new line wherever the next direction
heads back against the last one.
The test for turning back now ignores a dot product that rounds a little
below zero at a right angle, at interior anchors and at the closed-path seam
alike.
Canceling a 3D and Materials drag, or dragging back to where it began,
rolled the preview back but left its rendered fallback warning in the
status bar, describing settings the document no longer had. The
rollback now clears that warning while the status line still holds it
and shows the restored selection's own warning instead. A warning shown
before the drag began, or a newer status message, is kept.
docs/three-d.md now scopes the painter's algorithm note to shaded vector
faces; a Rendered image is drawn with a depth buffer.
* Retype: add a context menu to matching-font rows
A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).
* Rerun CI: the apt package download failed in a test shard's setup
---------
Co-authored-by: ruchirguitar <[email protected]>
Co-authored-by: FredApps <[email protected]>
A live star whose ratio is below 0.01, which object.setLiveShape takes,
lost its inner radius and its live shape when addon.shapes.configure
changed another value: the stored ratio was clamped to 0.01 when the
star was drawn and no longer counted as live. Any ratio from 0 to 1 now
draws and stays live as it is.
A corner list shorter than the star's or polygon's corners counted as
one shared radius, so a new point or side count gave the missing corners
the first corner's radius. The missing corners now stay sharp.
A ratio that changes which corners a rounded star cuts is now an error
with radius or kind in the same call, as points is, since the corners
selected before it no longer name the same corners. The anchor selection
is dropped by the same check.
The Selection fill eligibility entry now lists the cases where a
hidden-only or true-None interior misses in one sentence, and the
case where Select Inside Unfilled Shapes picks it in a second.
An anchor nudge on a pixel-aligned rounded rectangle or polygon that the
pixel-grid snap cancels recorded an undo step and left the shape a live
path, because the anchor edit converts the live shape before the snap
runs. The no-change check now treats that conversion as no change when
the converted live shape matches what the same anchors would give
unmoved, so the shape stays a live rectangle and no undo step is
recorded. A change to the uncut outline or the corner settings still
counts as a change.