Reject resize results from another project. Release stale pixels and caches before retrying a resize within the original project, preserving intervening edits and one-step undo.
Fix rectangular height sampling, seam-boundary coverage, malformed set selectors and saved channel ordering. Reduce temporary composite and mesh-partition storage, and pack mixed-aspect trace textures without changing their samples.
Keep channel actions reachable in short windows, strengthen export and modal regressions, document the control commands and remove unrelated formatting changes.
Preserve distinct-character collection for font subsetting alongside main's catalog accessor and compressed wasm embedding. Exercise the generated accessor with both populated and empty catalogs.
The web build is under a 24 MiB download budget. Its embedded data is
now stored deflated and inflated once at startup: the craft-fonts faces,
the translation catalogs, the Phosphor icon font and the studio
environment HDR. egui's default faces come from craft-ui's deflated
copies instead of egui's default_fonts feature, and the engine's
built-in text fonts (Ubuntu Light, Hack) come from the same copies
through text_cmds::provide_built_in_fonts. Desktop builds are unchanged.
Bring in main's project rename changes. Use the existing preview fallbacks for disabled Base Color, Metallic, and Roughness channels while preserving their values for re-enabling. Cover the rendered preview with a regression test.
Preserve desktop autosave recovery and retain the package and cooked maps of linked materials used in effects. Keep both lockfile dependency entries and the approved Paint Properties changes.
Keep main's Assets, Export, and headless parity changes alongside the unified Paint Properties sheet. Preserve history on fully blocked strokes, release obsolete preview resources, and redraw brush and stencil pictures at the correct scale and placement.
Load visible thumbnails on demand, resize common custom previews from borrowed pixels, and release stale file textures and project notifications. Index favorite ranks per draw and remove unused resources without repeated library scans.
Preserve export folds across job startup. Share idle plans between the footer and file tree, borrow running-job plans, and avoid redundant label measurements and template copies. Collect distinct catalog characters before sorting them for font subsetting.
Repair the Assets snapshot setup, isolate saved-brush test files, and clarify affected code and regression fixtures.
Use a real duplicate texture path in the fixture so literal token substitution remains intact. Validate the engine integration suite with the updated main.
Preserve both branches’ engine tests. Validate the project name before applying other dialog settings, clear discarded text undo history, and keep an unsaved project’s autosave filename stable across renames.
Expand export tokens once, preserve literal text in names, and sanitize flat stems directly. Reuse the dialog’s name buffer and update the command documentation and generated headless parity report.
images_used counted a linked material's package and cooked maps only on a fill layer, so
Remove unused dropped them (and a smart material left them out) when the link sat in a
content fill effect.
A pure find_installed_tool(app_dir, exe) is tested in a temp folder (sibling
found, beside-the-program wins, missing is None) instead of writing into target/.
The 'did not start' hints name the sibling folder; control-protocol.md lists the step.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Main's Resources Updater counts an equal-size file whose modification
time didn't move as unchanged, so a rewrite in the same millisecond as
the import read as up to date and the test failed on the gate.
Reject selections that use one output path as both a file and a folder before rendering or starting a desktop export. Expose tile metadata in export.plan and use it to label atlas previews, including ambiguous filenames.
Write quantized 8-bit PSD rows directly into the merged-image buffer. Cover path conflicts in both orders, partial desktop writes, and visible atlas captions with regression tests.
Main's Resources Updater replaces the shelf's own resource.update and
resource.reload: the shelf menu's Reload and the refresh popup's
updates now run main's resource.status and resource.update, and Show in
reads the project's saved source path. A renamed image keeps its source
record, so it still follows its file.
Escape drops a rename or description edit even once the window's cancel has taken it from egui's input. With the pointer over the list, F2 renames the selected set and Shift+F10 or the Menu key opens its menu instead of switching the viewers layout or the mode. Escape is no longer a painting cancel while a dialog is open, so the channels window closes on it. A texture set name over the length limit is refused for its length.
Preserve Resources Updater links and bake provenance when replacing or clearing mesh maps. Keep unrelated maps on unchanged UV atlases, discard partial results from failed workers, and reject overflowing texture-set indices.
Track vertex colors, part assignments, tangent frames and the packed file used by material-color bakes. Share the common source fingerprint across each task's selected maps. Add reimport, cancellation and atlas regressions, update the control protocol, and clarify the affected code.
The Projection band's Angle fade from / to and Stamp depth rows had no
command behind them, and tool.brush took Size Space (screenSpace) without
reporting it, so an agent could neither set nor read what the panel shows.
tool.brush now takes angleFade [from, to] and stampDepth, refuses a
malformed angleFade before changing anything, and returns all three.
The stencil now shapes Paint, Eraser, Smudge and Clone strokes as well as
Projection ones: its gray times its alpha masks the stroke, read from the
viewport's point of view, and the tool keeps painting its own material.
Only the Projection tool paints the image's colors. In the 2D view, where
the stencil isn't drawn, only the Projection tool uses it, as before. The
viewport shows the stencil and S + drag places it for every brush tool.
Every brush tool gets the Stencil tab. Its section is a slot showing the
stencil image (a click opens the picker of the project's textures with
Import... first, × takes the stencil away, an image dropped on it becomes
the stencil; the S-drag keys are its tooltip), a Tiling mode list (No
Tiling, H and V Tiling) with a picture per mode, Scale, Rotation and
Position X / Y stacked beside a picture of the view with the stencil
placed in it, and Overlay opacity. The STENCIL caption's reset puts the
stencil back in the middle of the view. The sliders change it through
tool.stencil.
BrushSettings gains size_pressure (on by default and for brushes saved
before it existed, so old projects paint as before). Off, a light pen
paints at full size in both views; tool.brush takes and reports
sizePressure. The Size band's rows keep a pen button slot, Minimum Size
greys while pressure is off, and the brush preview drops its pen taper.
The test read the set's bottom layer but switched roughness off on the selected one, so it stopped at its own precondition instead of checking textureSet.channels.
Two sets with different sizes, channel formats, added channels, mixing, height to normal, padding and a non-Latin description go through the project file and come back the same; a set without the new fields opens square, with 2D padding and Smooth height to normal.
A template saved the set's channel formats but not whether they were picked, so a project started from it stored every channel at 16 bits again while showing the formats as 16-bit. Templates now carry format_precision; older template files read it as false and keep 16 bits, as before.
With Apply to all Texture Sets the dialog sends every ticked channel, including the ones a set already has, and textureSet.channels added each again, which switched that channel back on in every layer of the set where it had been turned off. A channel the set already has is now left alone.
textureSet.resolution took a height that was not a number as absent and resized the set square, and textureSet.settings skipped a normalMixing, aoMixing, heightToNormal or uvPadding value that was not a string and reported success. Both now return an error and leave the set as it was, as normalFormat already did.
textureSet.channel.format {channel, format} stores a channel in sRGB8, L8, RGB8, L16, RGB16, L16F,
RGB16F, L32F or RGB32F, as one undo step. The composite keeps 256 steps for 8-bit formats (sRGB8
spaced for gamma) and one grey value for L formats; 16-bit and float formats keep the tiles' 16 bits,
and the command says so for floats. Layer data keeps its precision, so a wider format brings back
what was painted.
Until a format is set, every channel keeps the 16 bits TextureCraft always stored (shown as RGB16 /
L16), so new and saved projects render as before; setting one channel's format keeps the others at
16 bits.
textureSet.resolution takes an optional height (default: square). Old projects open
square as before; sets whose UV tiles have their own sizes stay square.
textureSet.settings takes uvPadding (3d or 2d) as one undo step and textureSet.inspect
reports it. Padding from island edges (2D) is the padding we always had: each texel
outside the UV islands repeats the nearest covered texel. Padding across seams (3D)
continues the surface across UV seams: a texel just outside a seam takes the texel as far
inside the seam's other island (UvSeam finds the edges two triangles share in 3D but not
in UV space), up to 32 texels out, and falls back to the nearest covered texel elsewhere.
Tangent-space normals always pad in 2D, since they turn with their island. New texture
sets pad across seams; projects without the field keep 2D, so they open and export as
before.