* fix(export): enforce batch-atomic OBJ/GLB/raster publication and parity tests
* style(mcmat): use as_chunks::<2> in test
* test(mesh_export): use valid non-black PNG in MTL slot link test
* fix(formats): reserve batch targets and roll back partial renames in write_batch_atomic
* fix(formats): preserve target during backup and report incomplete rollback
* fix(formats): address FredApps & CodeRabbit review on write_batch_atomic
* fix(formats): harden batch rollback, backup mode, and special-file guards
* fix(formats): validate regular file handle in rollback ownership check
* formats: cut over OBJ/GLB mesh export and EXR writing to craft-libs (#778)
* fix(export): use Format::OpenExr for craft-image-codecs
* fix(export): import std::io::Cursor in tests
* test(engine): handle OBJ output without leading header before o
* chore: repin craft-mesh and craft-image-codecs to craft-libs main
Keep per-set export settings and case-insensitive filename deduplication. Route browser warnings and completion counts through MapExporter, and retain both the 2D view and texture export parity sections.
Use first-wins filenames in export plans, match MaterialX tags to the encoded samples, and keep nonempty scaled UDIM tiles at least one pixel wide. Quantize native-order integer rasters directly into bytes to remove the second float buffer.
Validated with formats and engine release tests, formatting, Clippy, layering, Wasm checks, and comparative heap measurements.
Use the same collision rules when saving templates and loading library JSON. Preserve canonical-name replacement and require a unique match for display-label lookup.
Track library paths on load and after successful saves. Carry them across project switches so pathless replacements update the original JSON file and survive reload.
Use the written luminance space in PGM filenames and MaterialX tags. Reject oversized PSD files before resizing and name the independent alpha plane. Write straight-alpha metadata in float TIFFs while preserving float samples and ICC profiles.
Honor template and layout destinations, preserve the active layout mode, and update the template library after a successful write. Keep Log copy and selection, rotated fill feedback, and image-view restoration consistent with the visible session.
Refresh lighting when an imported environment changes or disappears. Share image resampling by resolution, skip unused headless uploads, bound tile conversion batches, and avoid cloning trace scenes per row slice. Keep the new display and shortcut types in dedicated files.
Keep desktop previews and UDIM sizing aligned with writes. Preserve map overrides across template edits, prevent cross-set MaterialX references, validate map options and forward them through MCP. Use the shared PGM and PSD writers and enforce the PSD dimension limit.
Reuse diffusion storage, borrow float TIFF samples, skip padding for empty plans and release ZIP inputs as they are packed. Release browser download URLs and callback references on success and failure. Give export messages original wording and organize new types by file.
Validated with release tests, Clippy, layering, WebAssembly, offscreen UI checks and paired allocation probes.
- Session::export_files leaves out a later set's file named like an earlier one's (with a
warning on the kept file), so file.exportTextures, the automation textures.export and the
browser zip share it; the left-out file's own warnings go with it.
- An empty file type override removes the global file type from the set's parameters.
- A running export keeps the template content it started with.
- Moves of an unfinished draft are forgotten when the template is saved elsewhere.
- Texture sets that leave a running export leave its count.
- Export takes each texture set's parameters and the output folder when it is clicked; later
edits do not reach the running export. Export is greyed with no texture set ticked.
- Two texture sets that would write the same file name stop the export before it starts (UI);
file.exportTextures skips a file named like one an earlier set of the same call exports, with
a warning, instead of replacing it.
- Closing the window stops the export before it writes another set; opening another project
stops it, and a set that moves takes its pending export along.
- Per-map overrides follow their map when the template's maps are moved or removed.
- Cancel after texture sets moved, Reset all, and settings saved before they had an owner keep
the ticks and overrides.
- A set's file type override starts from the template's type when its maps share one.
- PGM luminance is taken before the colour space conversion.
- The Output templates footer counts the maps the current set exports.
- Use a 128 px sample session in the unlit-switch test (main requires 128 or more)
- Drop a deferred Other... view whose image was removed during a bake
- Keep the neutral material of lit Metallic/Roughness views when spec/gloss is on
- Resend the shown Image view after texture sets are recreated
- Drop the default search query only at a word boundary
- Restart the render when the display background changes
- Document when viewport.frame resets the 2D view
Combines issues #675, #676, #677, #678, #679, #682, #683, #680, #681 and #684.
- View mode combo with section titles, reference names, Other... image picker and an unlit switch
- Display Settings: environment picker grid and drop slot, reference slider ranges, background color, environment alignment, shadow computation mode and opacity
- Settings > Shortcuts with sections, Reset all to default, Delete to clear and conflict warnings; reference action names and default keys
- 2D view: rotate, snap rotate, drag zoom, F reset, wider zoom limits, UV tile grid, numbers, hover label and one mesh wireframe switch
- Log panel with sources, level colours, selection, copy and clear; the exported log keeps each entry's time, level and source
- Save as template, reference template names and a remembered template
- Window menu with Toolbars, per-mode layouts, Hide UI check mark and views per mode
Adds the reference's export settings page (lists, menus, tooltips, Cancel undoes),
per texture set overrides for template, file type, size and padding, per output map
file type and bit depth, JNG/PGM/PSD/32-bit float TIFF writers with bit depth per
file type, dithering and diffusion padding, a progress bar with Cancel Export, a
console and a tree in the list of exports, and the Output templates tab layout with
its right-click menu.
Integrate main’s shared raster codecs for desktop icons, screenshot PNGs, and mesh base-color textures. Preserve the approved Settings draft reconciliation and its regression tests.
* chore: cut over runtime raster image codecs to craft-image-codecs
* fix(formats): move inline mesh_import test into tests.rs
* fix(engine): simplify nonminimal_bool in user_brushes.rs
* fix(ui-egui): simplify nonminimal_bool in link_import.rs
* fix(formats): use as_chunks::<4>() in mesh_import for clippy
* fix: preserve mesh texture orientation and resize precision
Preserve accepted bake preset values during unrelated patches. Restore free-camera roll and recognize equivalent yaw after a full turn.
Refresh open Settings preferences after control updates and reschedule changed autosave intervals. Preserve FOV edits through glides, commit camera renames before row indices shift, and keep the export footer visible while scrolling texture sets.
Preserve main's procedural patterns and linked-material changes. Keep camera navigation, pending dialogs, Settings drafts, shortcut capture, and shelf contents consistent across project and UI state changes.
Mark persisted panel edits as modified. Accept existing bake settings in presets, count newly baked maps, and open failed bakes on the General log channel. Record log times and severity when each event occurs.
Reuse selected export plans, move completed JSON results into place, and avoid copying cached shelf paths or building unused preset catalogs. Add regression coverage and update the control protocol examples.
Apply scalar scale once when creating a procedural mask. Preserve explicit two-axis placement and the projection stored in existing projects. Read placement directly from the command parameters during edits.
Render procedural swatches only for visible picker tiles. Reserve space for the full selection and sort project images in the finished row list. Update the fill documentation for image imports, pattern resolution, and the Gradient Map menu.
Fixes#637, #642, #649, #651, #655, #664.
- Edit > Settings with General, Shortcuts and Libraries pages, OK and Cancel (#637)
- Right-bar panels pop out with Undock; Export panel, Log tabs, Display and Shader Settings pages (#642)
- Free camera rotation, snap rotate and next/previous camera commands, Normal+height+mesh view (#649)
- Named bake presets, apply bake settings to all texture sets, bake summary toast (#651)
- Swap 3D/2D views with F4 (#655)
- Help > Release notes... and Export log...; tests for Join the community (Discord)... (#664)
Combination: one shared unavailable::NOT_AVAILABLE hint, snapped orbit uses the Settings
rotation speed and levels a free camera, Swap 3D/2D in the Viewport reference order,
symmetry test harness widened for the longer top bar, docs/parity.md regenerated.
Preserve main's empty startup and project-bound dialog behavior. Check for unsaved edits at Create, reject stale mesh picks, and release closed forms' mesh buffers. Transfer the desktop mesh input into the new session after validation.
Retain failed import rows for retry, keep duplicate names within the archive limit, and preserve the active brush alpha during unused-resource cleanup. Remove repeated row scans and idle UV-tooltip formatting, and keep baked-map filenames visible on separate rows.
Start interactive desktop and web sessions with an empty workspace. Keep the sample project available from the File menu and preserve desktop control-mode startup behavior.
Report the closed state through automation, disable commands that require a project, and release viewport render targets on close. Update menus, documentation, and regression tests for startup, close, and command availability.
Use the Tile Generator sampling context for gradient maps and retain pattern settings and gradient stops through fill edits. Keep the shared picker alongside the gradient, decal symmetry, and layer selection controls. Collect thumbnails after the dock and detached windows draw.
Update affected tests for the merged picker and cover image-backed and reduced-resolution gradients.
Preserve closed-session guards and project cleanup alongside the new layer, camera and layout controls. Update the menu-order regression for the merged catalog.
Clamp saved axis values above 2 to Z, matching the renderer’s fallback. Extend the regression to check that a saved axis of 255 becomes 2 on load and stays 2 after a rotation edit.