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.
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>
The export dock, Mesh Export Options and Export textures window keep the
reference's layout, but their texts are now our own. Where main had a
TextureCraft text for a control (footer tooltips, console lines, override
menu, reset button, dilation hint, naming pattern info), it is back. New
texts describe what TextureCraft does: the USD tooltip says the mesh is
always written, the Mesh Export Options info tooltips say the mesh is
always triangles and normals are not recomputed. The drop popup asks
"Which part of <map>?", empty swatches read "Empty (writes black)", new
rows are named after their layout (Gray, RGB, RGBA), and the map panes
use TextureCraft's channel, bake and converted map names with OpenPBR
parameter names for the inputs TextureCraft lacks.
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>
On a short screen the settings pushed the footer (Cancel, Export) out of
the fixed-size window, and at an 800-point-wide screen the 728-point
window cut off the right end of the value lists. The page now sits in a
scroll area (both directions), as the texture set list already does.
The new test at 800x480 fails without it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The window's drawn tabs, the Global settings row and the console's
hide/resize strip take focus by Tab but drew nothing for it. They now
draw a 2-point outline in the strong text colour when focused, apart
from the accent of the selected tab or row and the hover fill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merging main (c6894cc6) resolved three conflicts in export_window.rs with
main's text, undoing this PR's renames, so five ui-egui tests failed:
- the console step after rendering is "Preparing textures writing" again
(main had brought back "Saving texture files");
- the greyed checkbox is "Export shaders parameters" with its tooltip
again (main had "Export shader settings");
- the now working Export USD asset checkbox keeps this PR's tooltip. Note
for review: TextureCraft always writes the mesh, so its "References the
original mesh if possible" part never applies.
Tests from #788 that named strings this PR renames on purpose follow the
rename, as the PR already did for the MaterialX tests:
- export_usd_asset: "Restore the default export parameters" is now
"Resets all settings to default values"; "Saved texture <name>" is now
"Writing <name> texture on disk" (both the positive and the negative
check, so neither turns vacuous);
- side_panels: "Export shader settings" is now "Export shaders parameters".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Output templates and List of exports tabs size their columns from the
window's width, and some of their rows are a little wider than the column.
In the fixed-size window that overflow was clipped; in the resizable one it
widened the window, the next frame's columns took the new width, and the
window grew each frame until it ran off the screen, so clicks and hovers
missed their controls (nine export tests failed).
- The tab body lays out in a child area fixed to the body's rect, so an
overflow is clipped as before and cannot widen the window.
- Each output map card takes the column's width; it took the width the
card before it left, so every card was 9 points wider than the last.
- The input maps column is 210 points, wide enough for its naming-pattern
row; at 170 its info icon was outside the window.
- The Save template and Load UI Layout pickers keep the reference titles
the tests check ("Save template", "Select a UI layout file.").
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.
Account for 1c2f9175 by removing its standalone benchmark. Replace the lookup_is_fast wall-clock check (F2) with language-switch and missing-translation assertions in saved_language_codes_and_spanish_lookup, following PhotoCraft’s translation tests.
Verified all seven i18n tests with coverage instrumentation and pinned catalogs, formatting, layering, and strict UI Clippy.