The Presets row gets a Template actions button (three dots) that opens a menu with Import and
Export of the selected template. It is focusable, opens with Import focused and closes after an
action, so no pointer is needed. The row's right-click menu keeps both entries.
An inverted empty swatch names the colour it writes after inversion, and the disabled
Separate R, G and B item says R, G and B must read the same map and be inverted alike.
Conflicted files and their resolution:
- crates/ui-egui/src/export_window.rs: main (#794, 039b4548) made the
Export window resizable, laid it out bottom-up and put the tab body in
a clipped child so an overflow cannot widen the window each frame; it
also wraps both settings pages in one scroll area, sizes the texture
set list from the space left and retitles the window "Export Textures".
All of that is kept. This branch's layout is kept on top of it: boxed
tab buttons, the naming pattern on OUTPUT TEMPLATES, equal-width footer
buttons, Reset all only on SETTINGS, no count/save/export on OUTPUT
TEMPLATES, its tooltips and the bigger list rows. The window opens at
this branch's reference size (capped by the screen) as its default
size instead of a fixed size, so it stays resizable; egui counts a
window's size with its frame and title bar, and main's layout now fits
the content inside it, so the frame margins and title bar height are
added to the reference content size (without that, the PR's
the_window_has_the_reference_size test measured 672 instead of about
740 points of content). set_list no
longer takes a body height (main's available-height sizing replaces
it); the PR-only "exp_global_scroll" area is replaced by main's
"export_settings_page" one, which also covers a texture set's page.
- crates/ui-egui/src/export_templates.rs: this branch's reworked
OUTPUT TEMPLATES tab (map lists, output rows, constants) is kept. Main's
fix for cards growing wider one after another is carried over to the
output rows: each row is laid out in the width the column had before
the first row. Main's INPUTS_WIDTH/LIST_WIDTH/CARD_MARGIN constants
belonged to the old card layout and are dropped; main's dialog-based
question window merged cleanly.
- crates/ui-egui/src/mesh_export_options.rs: main's new
windows::dialog(ctx, ...) signature with this branch's fixed width.
No test was changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Create named new rows just "Grayscale", "RGB" or "RGB Alpha", so every
texture set of a multi-set export planned the same file and the export
was refused for the name clash. New rows now start with
"$mesh_$textureSet_" (as the old "$mesh_$textureSet_Output" default
did), followed by the reference's row name. The output_templates test
that pinned the bare "RGB" checks the suffix and the set token instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each desktop run made a new logs/session-* folder that was never removed,
so the logs folder grew with every start. Starting a run now removes all
but the newest earlier runs' folders, keeping ten in all.
Removing File > Import MaterialX material... left no way to import a
.mtlx from the GUI. Import Resources now lists .mtlx files and imports
them as file.importMaterialX does, as a fill layer. The protocol doc no
longer points at the removed Import PBR texture folder item.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Integrate origin/main at 2037b6b8 while preserving the menu and dialog changes. Resolve the color-selection rewrite, toolbar imports, app state, and upstream test cleanup conflicts.
Validation: cargo +1.100.0 check -p texturecraft -p texturecraft-ui-egui --all-targets --locked passed. Tests and screenshots were not run.
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.
The Export dock shows EXPORT only. The export window, its console lines,
tooltips and the Output templates texts read as in the reference again, and
the window has the reference size.
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.
Align the picker, catalog, replacement, defaults, and protocol on warp and blurSlope. Retire the old selectors, preserve stored filter settings, and apply Source Tiling to sampled inputs inside each UV tile.
Prepare Warp directions once per region and reuse the source for independent directions. Keep Chain sampling at each successive position.
Preserve main's draw identities and placed-fill picker. Repair sparse Compare and anchor evaluation, lighting, gradient boundaries, and seed restoration. Reduce redundant Color Match work, blur scratch, and cold environment reductions.
Validated with Linux cargo xtask ci, release compositor tests, CLI examples, and filter snapshots.
Integrate main's projector, resource-picker and UI changes. Keep Compare inputs tied to the correct folder draw, propagate filter margins through sparse masks, and preserve the real backdrop in folder thumbnails.
Retarget saved seed resets when folders are copied. Preserve grayscale tool choices, reject missing mask images before mutation, and release the previous anchor's draft and undo state when selection changes.
Borrow material data during planning and write filtered samples directly into output rows. Cover the repaired behavior in the compositor, engine and Properties tests.
Preserve linked fills and imported alpha images, bind cached composites to their mesh, and keep delayed orb results from evicting newer previews. Avoid rendering hidden picker tiles, redundant queue scans and an extra HDR image buffer.
Correct picker cancellation, native pointer ownership, channel selection and single-parameter pattern edits. Update the Material controls guide, retain the approved Studio Small 09 attribution, and exercise the mask projection through its accessible control.
Match menu labels, defaults, checkmarks, toolbar visibility and Help links. Add recent-project limits, per-mode layouts and session log actions. Make dialogs movable and resizable with consistent titles and scrollbar clearance.
Validation: release app build succeeded and preview opened. Full tests and screenshots were not rerun at the user's request.
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.
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.
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.
Reuse two fur seed tables per worker, share knot noise, and skip invisible decay and brocade detail. Normalize each catalog lookup once while preserving label and saved-name aliases.
Consolidate periodic sampling helpers, move FurLock into its own module, and strengthen coverage of coarse-grid fallback and saved pattern names. Preserve main's project and Assets changes and document the expanded catalog.
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.
Discard queued baked maps when the New Project form is canceled, closed by its title bar or a layout change, or replaced by a fresh form. Keep failed imports available for retry.
Give Saved searches and Filter by path independent scrolling and a resizable divider whose position is saved. Update the asset-type menu, add Show all, and label unavailable searches and font entries. Skip folder-filter work when it cannot affect the display. Add regression tests and document the Assets panel behavior.