Keep file-picker answers tied to their original Project Configuration opening, including after UI layout resets.
Split ProjectConfig and TempDir into dedicated files, complete scoped naming/comment/spacing cleanup, and add delayed-answer regressions and a Project Configuration snapshot.
Validated with the UI release suite, workspace Clippy, wasm checks, formatting, and diff checks.
Retain intermediate filter stages needed by mask anchors, with measured
buffer capacity and release checks. Preserve main's generator and layer
controls while fixing instance-owner validation, micro defaults, inactive
anchor labels, and clipboard dependency reporting. Move MicroDetail into
its own module and complete scoped cleanup.
Validated affected release suites, Clippy, wasm, layering, formatting,
panic_hunt, and the final diff.
Preserve the shared-catalog integration and saved review repairs. Reject saved path commits during quick-mask editing, hide the unavailable 2D brush cursor, and reduce dirty-tile selection work. Keep the Selection test fixture in its own module.
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.
The UV tile list is read only with a hint to Texture Set Settings (the
old Painter note was wrong here). The normal map format is skipped when
the project already has it, a mesh already changed is not read again by a
retry, and the tests now show strokes moving or staying with the Preserve
box.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PROJECT SETTINGS sets the project's normal map format on OK and shows the
UV tiles read only. Import settings holds Preserve stroke positions on
mesh, passed as preserveStrokes to file.changeMesh / file.reimportMesh.
A failed OK no longer re-fires from a stored Enter.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Select... picks another mesh file (ticks Reimport mesh), OK runs
file.changeMesh, or file.reimportMesh when only Reimport mesh is ticked.
The Display panel keeps its own rail icon and View entry.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file.changeMesh command stays (trusted local command API and the
control channel); the Project Configuration window will offer it in a
later PR. The command is no longer listed under the Edit menu.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The translation tables moved to craft-i18n upstream; their files are gone here, so the two new strings fall back to English until the catalog has them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Path gets a pen nib, so it no longer looks like Polygon fill's polygon;
Projection takes the cube-focus icon and Geometry mask a crossed selection.
The color picker copies every channel of the material under the cursor, so it
is now called the material picker (its command id and key stay).
Anchor point effects can now sit in a mask, where they record the mask
value at their place for fills and generators above. Generators take an
anchor's height as micro detail (microAnchor, microAmount). Effects can
be renamed from the Layers panel, and the anchor picker lists anchors
under their own heading.
Closes#389
Merge upstream main into the branch. The streamed bake now returns the same Arc buffers it handed to the preview, and the document stores those, so a preview never holds a second copy of a map. A cancel leaves the set being baked as it was; sets that finished earlier stay applied.
TextureCraft is updated only through the launcher, so a copy downloaded
directly is never told about a new version. The desktop app now checks
GitHub releases at start and from Help > Check for Updates, through
craft-update at craft-libs 1b34eba4. A run with --control skips the check
at start. A ready update installs when the app closes, and it waits for
unsaved changes, a stroke, a bake or a resize. The update prompt and the
modal result window hold the keyboard, so shortcuts do not act on the
project behind them. The web build is unchanged.
textureSet.meshMap.import takes its paths in files[].path, which
authorize_command did not look at, so a control client could import an
image from outside --read-root. Treat a path or dir in any files entry
like a top-level one, and document that automation imports baked maps
through resource_import plus textureSet.meshMap.set.
New project > Advanced settings gets the project's normal map format and
Import baked maps: Add lists image files, and Create imports them with the
new textureSet.meshMap.import command, which sets each file as the mesh map
of the texture set and slot its name names (Body_ambient_occlusion.png,
Body_normal.1001.png) in one undo step and reports the files it left out.
A bake started in the app bakes the set's maps one after another (BakeTask::run_streaming, one bake per map, same pixels as a single bake) and streams each finished map from the worker thread. One map is installed per UI poll into the session's bake preview (not the document); the 3D view follows the newest map raw on the model, with maps and sets not baked yet shown neutral, and the bake bar names the stage. The bake bar picks Follow Newest Map, a finished map or Material. The previous view mode comes back when the bake ends, is cancelled or Bake mode is left; painting is paused while a bake is shown. bake.preview, ui.bake.start and ui.bake.cancel expose it on the control channel. New strings are translated in every shipped language.
Lay bake mode out as texture sets over a Mesh Map Bakers list, then
Common Settings | Mesh Map Settings tabs, with the log under both
columns. A row's checkbox enables a map for baking; clicking the row
selects it, and Mesh Map Settings shows only the selected map behind a
texture set / map breadcrumb with dropdowns. Selecting never changes
what bakes.
Saved bake docks from before this layout, or that cannot be read, load
as the bake layout instead of the painting default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>