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.
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 painted box of an auto-rebake map now lives in the document, so
undoing the rebake of a stroke makes the map due again (the stroke stays
painted while the map goes back to its pixels from before it), and a
rolled-back bake.run needs no hand-kept copy. A mesh reimport carries the
stroke count on; before, a bake after a reimport saw every earlier stroke
as newer and kept its box.
The Baking Log rows, the out-of-date clock and the generator's bake note
put their reasons in the accessibility tree, not only in a tooltip, and a
folding high poly row exposes whether it is expanded. bake.log is kept off
the shortcut list. PressEdit gets its own file, region_keeps_pixels moves
beside RegionBake, and auto_rebake_due computes each map's source once.
Each bake records, per map, fingerprints of the low poly geometry, the
high poly and cage files, the settings every map shares (with the UV
tiles baked) and the map's own settings, taken when the set's bake
starts. A map whose inputs differ now is out of date, with what changed;
project.inspect lists those per texture set as outOfDate.
The record is saved with the project and left out when empty, so
projects saved before it open unchanged and their maps never show out of
date. Imported maps keep no record either.
Share bounded resource naming across image, PBR and MaterialX imports so duplicate names survive a project round trip. Stream changed images into one undo step, preserve mesh-map ownership, and restore decoded pixels after a rejected edit.
Load updater thumbnails as they enter view. Expose package explanations and update outcomes to assistive technology, and keep the public MaterialX byte loader compatible.
Integrate main's autosave naming, export-normal option and generator inspection. Borrow geometry for default GLB and USD exports. Remove the duplicate native UI test dependency.
Preserve rebuilt UVs, undoable bake meshes and the shared window-close path. Keep each close and save dialog with its requesting project, wait for pending writes before restart, and leave already saved edits clean after a later stroke is canceled.
Capture archive inputs once, share encoded mesh buffers and release parsed bake geometry before writing. Split the new save types into dedicated files and cover project replacement, restart eligibility and snapshot lifetimes with regressions.
Integrate main's dialog and bake-state changes. Reject inconsistent saved layouts at archive and session boundaries, and preserve vertex splits between independently packed materials.
Stream UV coordinates in bounded batches, transfer stored mesh bytes on successful reopen or reimport, and skip import reports that those callers discard. Set the archive version on the owned save snapshot to avoid copying the layer graph twice.
Cover material boundaries, malformed snapshots, locked coordinates and keyboard activation. Update the format and command documentation.
file.exportTextures wrote <project>_shaders.json without checking it against the export's texture paths, which the web download and the headless export do (review on #827). The check is one shared helper, check_shader_parameters_name, run here against this command's files and the earlier commands' reservedNames, so a clash is a warning and the file is not written.
Disambiguate colliding PSD filenames and budget only the documents retained for export. Match grayscale WebP previews to the encoded channels and make wide export details reachable by scrolling.
Document built-in preset selection and verify declared JPEG 2000 component precision. Focused Linux tests, affected-package Clippy, and WebAssembly checks passed.
Bound retained PSD output and preserve document names, layer names, and preview channels. Keep saved presets and draft map overrides usable, report explicit grayscale J2K colour spaces, and let active picks handle Escape first.
Validated with local export regressions, Clippy, layering, and WebAssembly compilation.
Integrate main and honor per-map sizes and shader sidecars through MCP. Preserve texture writes when an optional sidecar fails, and cover both outcomes through the tool transport.
Bound layered PSD working memory, preserve set and UDIM names, and report effective dithering. Match previews to stored channels and identify linear grayscale JP2 samples correctly.
Reuse sample buffers, cache unchanged template plans, and share identical grayscale preview textures. Remove the obsolete direct XML dependency. Apply the maintainer’s preset attribution decision and retain the ICC credit and codec notices.
Preserve native PSD layer sizes and UDIM suffixes, validate the canvas before allocation, and keep MaterialX and USD references compatible with the exported files. Record linear JP2 data correctly and protect browser shader sidecars from path collisions.
Borrow preview coverage, reuse built-in presets, group PSD plans by tile, and avoid redundant codec and diffusion buffers. Release preview textures on dismissal and keep map controls reachable, distinguishable, and readable across themes.
Integrate main's layer menus and Cargo debug configuration. Update dependency notices, preset attribution, and export documentation.
Validate every selected texture set before starting a real or quick bake. Apply linked settings atomically, reject invalid copy selectors, and preserve only the maps needed by a display preview.
Reuse fitted geometry across streamed maps, bound cage projection scratch, and stop discarded work. Release stale scene and thumbnail resources on project replacement. Keep pending imports safe across updates and restore keyboard focus after bake menus and dialogs close.
Add regressions for selection, cancellation, project replacement, and keyboard navigation. Retain main's packaging, dependency, and export changes.
The tick is saved with the export settings like Export USD asset; the window sends every texture set of the export with its last command (shaderParameters of file.exportTextures), and the browser adds the file to its download.
A texture set's Output maps row has a size list (Export size, or 128x128 to 8192x8192); file.exportTextures and export.plan take it as maps[].size, and a PSD is as large as its largest layer.
The layers and the merged image are written with craft-psd's PsdBuilder. The USD asset and MaterialX leave the PSD out (with a warning for the USD asset).
A project with rebuilt mesh UVs now stores the UV of every triangle
corner in uv_layout.bin. Reopening and reimporting the project's own
mesh apply that layout instead of running the unwrapper again, so a
later unwrapper change cannot move saved paint. A format 4 project
with rebuilt UVs but no valid layout is refused.
Each usdAsset entry now carries the reservedNames its command ran with, and the
asset applies the same reservation rule as the texture export (reserved file
names and UDIM patterns, then earlier files of the job), so it never binds a
file the export skipped.
Reuse compatible template maps and write dedicated OpenPBR maps for the remaining supported inputs. Reserve earlier filenames and UDIM patterns before rendering, and omit inputs whose textures would belong to another set.
Report when an export writes no files. Cover map compatibility, collision handling, and empty exports with regressions and document the resulting behavior.
Integrate main without target-side content changes. Validated by the retained Linux cargo xtask ci run.
* 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
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 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.
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.
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.
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.