Commit Graph
333 Commits
Author SHA1 Message Date
vangel76 8b11099717 Merge storytold main into feat/resources-updater-817
Conflicts resolved:
- crates/engine/tests/it/main.rs, crates/ui-egui/tests/it/main.rs: kept both
  test modules (rebuilt_uv_layout, resource_updater; resources_updater,
  sample_project) in name order.
- crates/ui-egui/src/lib.rs: Toast keeps main's announce field and this
  branch's action field; both constructors set both.
- docs/control-protocol.md: main's ui.menu.invoke and Open Sample Project
  rows, with this branch's note that the Resources Updater button is enabled
  while a project is open.
2026-11-26 19:40:00 +01:00
chasse20 11597318ab Merge remote-tracking branch 'origin/main' into HEAD 2026-11-26 16:52:39 +00:00
Chris Hassebrook d422c821f2 Merge pull request #772 from vangel76/fix/effect-stacks-769
Toggle material and mask effects from their thumbnails
2026-11-26 06:36:38 -05:00
chasse20 3adefe418a Auto: Integrate main and preserve shortcut recording
Integrate main at 6b01f32e with the shared UI runtime and warp toolbar. Initialize main’s shortcut dispatcher alongside the PR’s lazy conflict cache.

Preserve Escape modifiers when the runtime routes the press as a window cancel. Add a regression test for the reserved Shift+Escape warning in Settings.
2026-11-26 11:36:06 +00:00
Chris Hassebrook 6b01f32eab Merge pull request #837 from vangel76/feat/warp-toolbar-805
Warp tool bar in the top bar: gizmo modes, place on surface, snapping, mirrors and resets
2026-11-26 01:00:38 -05:00
FredApps 46d84d5b23 Merge main into TextureCraft effect-stack changes 2026-11-26 06:43:42 +01:00
chasse20 499591c387 Auto: Integrate main and protect effect names on reopen and undo
Discard pending names when their project or effect disappears, including while the Layers panel is hidden. Cover File Open and removal followed by undo in the UI tests.

Reuse effect slices and label layouts. Skip checkerboards and placeholder meshes for fully clipped thumbnails.
2026-11-26 04:35:45 +00:00
chasse20 fd39434e6c Auto: Integrate main and fix Settings and shortcut validation
Preserve the Nightly data root, viewport resolution and saved key bindings when applying Settings. Restore the system language on Reset UI, use the persistent preview-cache default, and release automatic bake previews when disabled.

Check the adapter selected by the baker against its shader requirements. Show reference keys in both shortcut editors and cache conflicts until the bindings or platform change. Correct the documented Bake mode key and add regressions for the repaired interactions.
2026-11-26 04:16:27 +00:00
chasse20 d0b1c7e3ac Auto: Integrate main and fix warp placement, resets and stale drags
Preserve main’s perspective ring fit and use the displayed radius when deciding whether a ring can be grabbed. Keep surface placement on the edited fill’s texture set and end captured drags when the loaded mesh or projection changes.

Preserve toolbar settings across layout changes, honor Ctrl snapping, and expose the manipulator settings as keyboard-adjustable sliders. Reset stored projector rotation and scale when keeping corners, and reject invalid reset arguments before editing.

Skip hidden handle geometry, reuse projected axes, and remove temporary selection and hit-test vectors.
2026-11-26 04:13:53 +00:00
aiongg 8180c82fab Merge storytold main (3c026860) into the minimal port 2026-11-26 03:21:25 +00:00
skylar taylor-barrick c57d4045f0 Switch on supervised nightlies on the nightly-signer branch (#838)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
2026-11-25 21:05:43 -06:00
FredApps 9e0e971c47 Merge main into texture effect-stack disclosure 2026-11-26 03:18:39 +01:00
chasse20 21b86d98f6 Auto: Validate rebuilt UV layouts and trim save and reload allocations
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.
2026-11-26 01:03:44 +00:00
Chris Hassebrook 5590b7396a Merge pull request #734 from MMexicann/patch-1
docs: document the FreeBSD arm64 download
2026-11-25 18:58:33 -05:00
chasse20 0cfa2cc4f2 Auto: Integrate main's shared Nightly launcher
Bring in the shared Linux Nightly tarball launcher, its smoke test, and the packaging documentation. Verify that the launcher selects a valid private profile and that the approved sample-project changes carry forward intact.
2026-11-25 22:56:32 +00:00
chasse20 c96c377b45 Auto: Integrate main and correct FreeBSD help and runner guidance
Name the actual FreeBSD release runner and identify the Linux AppImage version check as non-blocking. Make the packager's installation example work for both FreeBSD archives and stop help output at the end of the documentation header.

Verified both extraction examples, native and cross-build smoke-test selection, the packaging dry run, and ShellCheck.
2026-11-25 22:55:56 +00:00
chasse20 05ffb1cc30 Auto: Integrate main and preserve existing sample projects
Stage bundled samples and install them without replacing a file that
appears during the copy. Record the Material Ball’s provenance and
clarify the desktop picker fallback and browser behavior.

Validated with Linux UI tests, focused release tests, formatting,
Clippy, layer checks, and WebAssembly compilation.
2026-11-25 22:50:07 +00:00
skylar taylor-barrick dcf91a4f05 Use the shared nightly launcher template (#835)
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.
2026-11-25 16:17:41 -06:00
aiongg 0fdcc8c327 Merge main into the minimal port 2026-11-25 20:46:10 +00:00
Chris Hassebrook 2d86cc04ba Merge pull request #799 from Rebornim/feat/bake-pass-2
Bake mode pass 2: settings layout, bakers list, sync, automatic cage and map preview
2026-11-25 15:34:55 -05:00
aiongg 753363d012 Merge main into the minimal port 2026-11-25 20:18:34 +00:00
chasse20 54ae40b14a Auto: Integrate main and fix bake selection and preview lifetimes
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.
2026-11-25 19:55:33 +00:00
chasse20 fc04f96857 Auto: Integrate main and fix generator masks, caches and previews
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.
2026-11-25 19:25:49 +00:00
vangel76 cbc6669f48 Ship the sample project as assets/samples and copy it into the Samples folder 2026-11-25 16:44:16 +01:00
aiongg ef82a2cf6c xtask ci: the wasm check runs on one host 2026-11-25 13:25:33 +00:00
vangel76 95fac86e4e Resources Updater: recheck files while the window stays open; a mesh map follows its latest imported file 2026-11-25 13:43:31 +01:00
vangel76 7b37306c47 Say the Samples folder is desktop-only in the docs 2026-11-25 13:39:48 +01:00
vangel76 9c2393655e Open Sample Project starts in a Samples folder that holds the built-in sample 2026-11-25 11:21:23 +01:00
vangel76 cf54cc20de Resources Updater: review fixes
Remember file verdicts per size and time so an unchanged file is read
once; recheck the open window at most twice a second; outdated rows
first. Record image files from PBR folder, MaterialX and mesh map
imports too, and resample an imported mesh map from its changed file
while it still holds that file's pixels. Relink only image resources;
decode updated bytes the way undo and reopening do. Notices carry their
project and are reset when another project opens, which is checked once.
Escape closes the window only while it has the keyboard. Keep the
reference's Shelf line and show the file on its own line. A dedicated
automation refusal message, translated status labels, tempfile in tests.
2026-11-25 11:16:41 +01:00
vangel76 d88bb3ea4b Correct the UV persistence note in the control protocol docs 2026-11-25 10:41:37 +01:00
FredApps 454fb75295 Merge remote-tracking branch 'origin/main' into pr-824 2026-11-25 09:51:09 +07:00
Dylan M. Taylor 56efb48efb packaging(linux): support co-installable nightly packages (#801)
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>
2026-11-24 19:05:51 -06:00
vangel76 2c6222ecde Move texture resolution to Display Settings and apply review fixes
Remove the Viewport section from Settings; the texture resolution is in
Display Settings > Render settings and the GPU memory toasts point there.
Add hovers to the Data folder and RAM slider, name the R button for screen
readers, test that Show world axes hides the 3D axes, and fix the docs
that still named the removed sections.
2026-11-25 01:18:07 +01:00
vangel76 af296eb5bc Scroll to R before clicking it and document the new settings fields 2026-11-25 00:56:49 +01:00
vangel76 e016ba2f10 Bring the Settings window in line with the reference (#823)
Defaults follow the reference: the system language, Show keyboard helper,
Show world axes and the baking options on, and GPU raytracing on and
checkable only with a GPU. Show world axes now hides the 3D view's axes.
The Iray, Appearance and Folders sections are gone, Temporary Files is
Files and holds the Data folder, Recent projects limit sits in Resources,
the CPU and RAM limits are sliders in steps of 1 with the core count
beside them, and the section hints are removed. The Local cache directory
is editable and defaults to the system's temporary folder. The shortcut
list adds the reference's manipulator rows after Export Textures, listed
as not available yet.
2026-11-25 00:51:25 +01:00
vangel76 6120bdd79d Resources Updater: find changed resource files on disk and update or relink them
Image resources imported from a file remember its path and modification
time. resource.status lists each resource as outdated, missing, up to date
or without a file; resource.update reads changed files again and
resource.relink points a resource at another file, each as one undo step
that recomposites every layer using the resource. Undo and redo drop
pixels decoded from bytes they replace under the same name.

The shelf's Resources Updater button opens a window with the project's
resources (outdated first), status and name filters, Update, Select new
resource, Show in folder, Refresh and Update All. When the app gets the
focus back after files changed, a notice offers to update them.
Automation refuses the three commands, since they read host paths the
project names.
2026-11-25 00:48:58 +01:00
vangel76 8f60ded96f Save the rebuilt UV layout in the project file
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.
2026-11-25 00:42:46 +01:00
vangel76 f4a8283d74 Export templates: subfolders and spec-based URP/USD templates 2026-11-25 00:15:22 +01:00
vangel76 e8473240fd Output templates: Import and Export reachable from the keyboard, two tooltip fixes
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.
2026-11-24 21:12:52 +01:00
Rebornim 3f72b65487 Bake mode pass 2: settings sync between texture sets, undoable high polys loaded on a worker, automatic cage, panels in the reference's layout 2026-11-24 14:32:46 +00:00
vkleinmpandClaude Opus 5.5 41c6b3047a Merge main (021ff6fe) into feat/789-export-ui-parity
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>
2026-11-24 14:00:10 +01:00
vkleinmpandClaude Opus 5.5 5103d2256a ui-parity: describe the export UI's own wording
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:53:55 +01:00
FredApps 021ff6fe8b Merge pull request #794 from storytold/context-menu-parity
Align top menus, default workspace, and dialogs
2026-11-24 12:00:16 +01:00
vkleinmpandClaude Opus 5.5 1abb7bda34 Output templates: new output maps get a per texture set file name
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>
2026-11-24 11:41:17 +01:00
FredAppsandClaude Opus 5.5 b57657438c Drop CodeRabbit's marker comments from the protocol doc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:05:50 +01:00
coderabbitai[bot] b6b761da86 Fix session log persistence and defer the sample project save prompt until selection
<!-- coderabbit-ai-generated:v1 -->
2026-11-24 08:01:32 +00:00
FredAppsandClaude Opus 5.5 e604486216 Bound the session log folders and import MaterialX from Import Resources
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>
2026-11-24 08:48:18 +01:00
chasse20 6bc4f3cafc Fix sample project picker and menu review findings 2026-11-24 02:23:29 -05:00
Chris Hassebrook c6894cc65b Merge branch 'main' into feat/789-export-ui-parity 2026-11-24 01:34:55 -05:00
vangel76 740616c354 Mesh Export Options: the reference's info icons; parity notes for the Output templates tab 2026-11-24 01:23:31 +01:00