Merge main at cce9ada while retaining the saved bake repairs and layout. Resolve docking, module, and viewport overlaps with the new Assets shelf and tool-availability behavior.
Update the Shift-click line origin when an unavailable tool forces a 2D stroke to finish successfully. Clear pending endpoints after completion or cancellation to prevent reuse by later gestures.
Add a regression test for Shift-click following forced stroke completion.
Reject pending path undo/redo during quick-mask editing without consuming history. Finish active strokes and polygon-fill boxes when tools become unavailable in either viewport. Hide unavailable tool properties for Paint and Path effects.
Add regression tests for history preservation, gesture cleanup, and effect tool controls.
Add file.changeMesh for trusted local callers while preserving layers, remembered mesh paths, imported images and bake resources. Retain unchanged-layout paint preservation, cache/cage invalidation and stale-bake cancellation safeguards.
The temporary Change mesh menu entry is removed. The Project Configuration 3D Mesh UI will follow separately.
Contributor: @vangel76.
Validated by fresh Ubuntu and Windows CI at the exact head-equivalent tree; QA confirmed the new dependency inputs and named backend/safety regressions.
A drag can start without changing the value, so the first change of a drag, not its first frame, opens the undo step. The opacity field's accessible name is "Opacity of" the layer or effect.
- The generator properties move to generator_panel.rs: Attributes
(description, category, tags), Resolution, Parameters with the global
adjustments first, a seed with Random and a pencil to type it, Restore
defaults, and Image inputs (a picture of what each input reads, a
source menu, images dropped from Assets).
- Effect rows get a blend mode menu and an opacity field at their right;
the effect properties no longer show them. Effect rows alternate two
shades just above the panel, so they read as rows under their layer.
- Layer and effect rows share the blend mode and opacity controls: the
opacity reads as plain text (no field box) and one drag is one undo
step.
- Translations for every new string in the 9 languages.
The texture set list shows each name in full beside its NxN size, and the bake button
reads Bake (N), counting checked maps x included UV tiles x texture sets.
High Poly Scene is a list with + and -, as in the reference. Without a high poly the
high-poly, Cage and Skew Correction controls show greyed instead of hidden, and a line
says why. Skew Correction applies only to a distance-based cage with Average Normals and
a separate high poly, in the panel and in the bake (a painted skew map no longer
changes other bakes).
Every overlay gets the reference's colour swatch and eyedropper: the high poly, its
matching error, the cage's surface and wireframe (separate, each with an opacity), the
missing seams and the project mesh. The panel opens as the reference's does at first
launch; its eye hides the baking meshes and greys their rows. Show for selected texture
set only filters the cage and the high poly; a hidden high poly leaves the GPU.
The UV seam overlay now marks the hard edges the UV layout does not split, on the low
poly and the cage, in the 3D and 2D views.
The project mesh can show the neutral material, picked in the 3D view's view menu:
colour, roughness, metallic, baked AO, an optional baked bent normal, and Quality as
importance-sampled reflections per pixel.
While the active tool can't act, the 3D and 2D views take no stroke, fill,
path point or error toast from it, show no brush cursor, stencil or
symmetry planes, and leave Ctrl+drag, V+click and the path keys alone.
The shelf follows the reference order (Paint, Eraser, Path, Projection,
Polygon fill, Smudge, Clone, picker, geometry mask; keys unchanged), greys
each tool the selection can't take, with its name on hover, and greys quick
mask Edit and Invert while the mask is off. Their shortcuts and menu items
follow. Rendering hides the paint tools; baking keeps them greyed.
A path committed on a fill layer (its content, an effect in it or an
instance of it) or while the quick mask is edited is refused; paths already
saved in a fill layer stay editable through their sublayer. Edit and Invert
quick mask are enabled only while the quick mask is on, and turning it off
stops editing it.
Bumps craft-ui and craft-window to craft-libs 1b34eba4 and replaces the
app's own dialog, shortcut and quit code with the shared crates.
File dialogs go through craft-dialogs and no longer stop the frame. An
action that needs a path asks for it and continues when the dialog
answers. An answer that acts on the project does nothing, with a toast,
when another project was opened meanwhile. The browser build keeps its
pickers and the startup and crash message boxes stay blocking.
Shortcuts run through craft-keymap's dispatcher, in the main window and
in floating panels. Saved shortcuts keep their stored form, and the
Keyboard shortcuts window and the shortcut labels do not change. A
shortcut on a symbol that needs Shift is recorded without Shift, and
saved shortcuts in the old form still run. A shortcut now runs only on
its exact chord: an extra Shift or Alt no longer runs a plain-key
shortcut.
A window close quits through craft-quit, and the close check runs in
logic, so closing a minimized window with unsaved changes restores it and
asks. A close during a stroke finishes the stroke and asks. The macOS app
menu comes from craft-menu. The unsaved-changes prompt goes on once its
Save dialog has saved the project, and stays open after Cancel or a failed
save.
The window frame guard on Windows and the title bar's buttons stay in the
app, since craft-libs has no code for them.