Merge main at dcf91a4f to pick up the generated launcher, its argument forwarding tests, and the packaging documentation. Preserve the approved import-dialog changes.
Apply single-row usage edits directly and reserve the full-list pass for a multi-row selection. Borrow file extensions for case-insensitive material checks, including MaterialX routing from main.
Extend dialog coverage for filtered selections, protected material rows and edits outside the selection. Clarify when a queued material import releases its dialog row.
Renders the plain nightly tar's launcher from craft-common-actions' shared template.
Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.
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.
Resolve Micro Height against the requested draw and current atlas layout. Invalidate whole-map fields after geometry edits, reuse admitted fields across tiles, and stop rust runoff at gaps between UV islands.
Render configured preview inputs, cancel evicted image requests, and clear stale previews and point picks when the project changes. Reduce temporary curvature fields and repeated occlusion sampling work.
Preserve generator IDs and saved values while updating picker wording. Consolidate generator regression tests and credit the Nightly icon set inherited from main.
Thumbnails, solo layers and histograms evaluate cut-down stacks without
every reader: they now build only missing heights and drop none, so a
thumbnail refresh no longer throws away the viewport's. Doc full stops on
the touched preparation functions.
A histogram evaluates the stack cut below an effect: it rebuilt every
anchor height under the cut's stack key, replacing the viewport's, so the
next render built them again. A cut now builds only heights that are
missing and leaves the set's prepared ones as they are. Review tidying:
blank lines, histogram scan comment, the field cache test reads the
cache's size.
- a drip ray past a ridge no longer carries rust up from texels lower on
the drip axis (the fitted captures move closer with the check)
- position 0 stays all black and 1 all white at contrast 1, as the scan's
ends are documented (3D Distance at offset 0, Dripping Rust spread 0)
- Use Texture's triplanar X projection mirrors U about the bounds' centre
like the scale it uses; custom grunge keeps its fitted placement
(identical at whole scales, which every capture used)
- Restore defaults resets the Parameters only, as its band says (it was
disabled when only the resolution differed, yet reset it otherwise)
- an inherited generator's slots list the anchors below both the owner
and the instance, as the Properties picker does (others were refused)
- a pick armed on a generator swapped to a kind without that point is
dropped
- a focused size column takes the arrow keys, each press one step
- the picker snapshot hovers the tile by its ListBoxOption role
The field cache read every 31st texel's triangle on each lookup (once
per tile plan) and could miss an edit between samples; the evaluation
now hashes every texel once, on first use. A mesh map's bake size joins
its key (one allocation read as another layout), and a hit moves to the
most recently used end.
Anchor heights are kept while the texture set reads them (no 8-entry cap
that dropped a ninth anchor to black), built in the anchors' draw order
as their topmost reader reads them (an anchor's height can hold readers
of lower anchors; layer ids no longer decide), rebuilt when the working
atlas size changes, and prepared before the generator maps that read
them.
MicroDetails.earlier marks a migrated {anchor, amount}: an earlier-model
generator adds the anchor's height times the amount to its signal as #395
did; microAnchor/microAmount keep that reading on the earlier model, and
any Micro Details control moves the generator onto the reference's
controls and the anchor's curvature.
A directory-scoped batch previously reused one .export.{pid}.{attempt}.tmp
namespace of 256 names for every staging file and backup. Exports larger
than that limit, or overwrites of about half as many existing files, failed
even when every output path was valid. Each allocation now gets its own
short identifier, while the collision retries stay within that namespace.
Stage capability-scoped temps in the output root so the mid-batch
escape test can actually install a parent symlink, and refuse
export folders that are symbolic links so two names cannot resolve
to the same file.
Parts welded back to back (or a double-sided sheet) sum to a zero averaged normal; the transfer ray there falls back to the surface normal, so the fit now measures along the vertex's own normal too instead of finding no direction and keeping only the padding
The edited set's checks already bound every value it changes, so a legacy value it may keep (flat parameters, presets) also reaches the sets sharing it; a synced set is refused only when a copied value clashes with its own, such as a minimum above its maximum. Also fixes the new tests' sample resolution and a clippy lint
- Partner validation skips the edited sets and is set apart by blank lines
- A drag whose pointer left the window starts a new line on its return
- Tests for a legacy preset on synced sets and for each sync source rule
- Automatic cage: coincident vertices of different mesh-name groups keep separate distances
- A sync edit fails, changing no set, when a partner's merged settings would be invalid
- A high poly read during a paint stroke is added once the stroke ends, so its cancel or undo keeps it
- Quick bake and the map preview read the low poly's colours for the requested map even when it is unchecked
- The set picker's differing-values note compares with the set bake.sync will take settings from
- Map thumbnails redraw when the UV tiles' scales change
- Checkbox drags start on the primary button only and reach rows crossed between two frames
- A long texture set name or folder is cut to fit its row
- Map preview tests require a new picture, not just a missing one
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
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.
Conflicts (crates/ui-egui/src/import_resources.rs, 2 hunks):
- Dialog body: main restructured the whole window (bottom-up footer,
Destination row, project_open gating, scroll area sizing). Took main's
layout in full; this PR's edit to the dialog body was only three small
changes, re-applied below.
- Usage-change block after the list: re-applied this PR's `usage_change`
collection (the dropdown records (row id, usage) instead of assigning
row.usage) and the apply-to-selection step, inside main's new layout.
Behaviour kept: dropdown on a selected row sets every selected row with
an editable type; on an unselected row only that row; materials (now
including MaterialX documents via main's is_material) keep their type.
tests/it/import_resources.rs merged automatically; main's new
a_materialx_document_imports_as_a_layer and this PR's tests are all kept
and pass. No tests changed, removed or ignored.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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>