Commit Graph
1448 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
Chris Hassebrook 1f77416ace Merge pull request #825 from vangel76/feat/settings-parity-823
Settings: match the reference's General page (defaults, sections, sliders)
2026-11-26 12:48:15 -05:00
Chris Hassebrook 7532cfb44e Merge pull request #773 from vangel76/fix/725-background-project-save
Keep TextureCraft responsive during project saves and show progress
2026-11-26 12:17:41 -05:00
chasse20 11597318ab Merge remote-tracking branch 'origin/main' into HEAD 2026-11-26 16:52:39 +00:00
chasse20 2bd495929a Merge commit '684f71bd7933299c35d29b212cf67090811ec0e3' into HEAD 2026-11-26 16:52:39 +00:00
Simon Hull ac4454bb38 Geom: check indices before computing tangents (#386)
Mesh::from_parts computed normals and tangents before validate(). An
index past the last vertex reads as the origin in the MikkTSpace
callbacks, but the all-degenerate guard compares positions.get() and
counts a missing vertex as different. So two positions with indices
[0, 1, 2] passed the guard while MikkTSpace saw every triangle as
degenerate and underflowed at generated.rs:1100: a panic in debug, an
out-of-bounds walk in release.

compute_tangents now also skips MikkTSpace (using the per-triangle
fallback, which reads with get()) when an index is out of range, and
from_parts refuses such indices before building the mesh, with the
same error validate() gives.
2026-11-26 16:21:07 +00:00
chasse20 5986091968 Auto: Fix close after a prior save fails and isolate UI language
Let an unmodified replacement project finish closing once the previous project’s save ends, even if the write fails. Add a regression test for that sequence.

Keep each UI thread’s language selection independent and add a test that selects different languages on two concurrent threads.
2026-11-26 16:19:15 +00:00
chasse20 d264bc525c Merge remote-tracking branch 'origin/main' into HEAD 2026-11-26 16:03:23 +00:00
ViktorBystrov72andViktorBystrov72 1f78ba3578 Isolate TextureCraft UI language on each thread (#797)
Co-authored-by: ViktorBystrov72 <18964918+ViktorBystrov72@users.noreply.github.com>
2026-11-26 15:54:16 +00:00
chasse20 ae51095d55 Auto: Integrate main and bind save completion to its project
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.
2026-11-26 15:09:23 +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
FredApps 684f71bd79 Merge pull request #860 from storytold/fix/warp-toolbar-test-headless
Warp toolbar test: install the headless runtime so main's CI is green again
2026-11-26 10:25:06 +01:00
FredApps 3695db1d44 Warp toolbar test: install the headless runtime on its harness
Main's CI has failed since #837 merged: place_on_surface_keeps_a_warp_on_its_own_texture_set
builds its harness without framework::install_headless, which the framework
runtime needs since #800, and panics with "the runtime plugin's hooks did not
run". Every other harness already installs it.
2026-11-26 15:50:40 +07:00
skylar taylor-barrick 356f01b2f0 Nightly: stop blocking a refused launch on macOS (#853)
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2).
2026-11-26 00:47:29 -06: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
aiongg 4ff7cb6165 Merge pull request #800 from aiongg/minimal-port-next
TextureCraft: minimal port to craft-libs next
2026-11-26 00:27:34 -05:00
chasse20 e7d3a47b56 Auto: Integrate main's November 25 roadmap update
Bring in the roadmap audit and its tracker schema from main at d45bb2ca. Preserve the approved effect-stack disclosure changes and rename repairs.
2026-11-26 04:41:03 +00: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
aiongg 47356ee5b5 Sample project tests drive the app through the framework runtime 2026-11-26 04:34:05 +00:00
chasse20 5372bf08bb Auto: Integrate main's November 25 roadmap update
Bring in the roadmap audit from #848 and preserve the approved Settings and shortcut repairs.
2026-11-26 04:20:23 +00:00
chasse20 c20d538da6 Auto: Integrate main's November roadmap update
Bring in the November 25 roadmap audit and its tracker schema follow-up.
2026-11-26 04:18: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
Chris Hassebrook d45bb2cad8 Merge pull request #848 from storytold/docs/roadmap-audit-2026-11-25
Docs: update the roadmap after the November 25 audit
2026-11-25 22:59:50 -05:00
chasse20 d08c7b900c Docs: preserve the roadmap tracker schema 2026-11-25 22:59:10 -05:00
chasse20 bae6870aec Docs: update the roadmap after the November 25 audit 2026-11-25 22:53:27 -05:00
aiongg 3bcd6f7153 Texture-set hover tests drive the app through the framework runtime 2026-11-26 03:51:34 +00:00
aiongg 8180c82fab Merge storytold main (3c026860) into the minimal port 2026-11-26 03:21:25 +00:00
Chris Hassebrook 3c026860e3 Merge pull request #775 from vangel76/feat/texture-set-hover-767
Highlight texture sets in the 3D viewport on hover
2026-11-25 22:16:53 -05: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
chasse20 4c6c880568 Auto: Integrate main's coverage-only CPU baking
Register cfg(coverage) with the workspace lint and use the existing CPU tracer for coverage builds. Preserve normal GPU selection and the approved hover-test language guard.
2026-11-26 02:25:05 +00:00
FredApps 9e0e971c47 Merge main into texture effect-stack disclosure 2026-11-26 03:18:39 +01:00
chasse20 3f81dabc5a Auto: Serialize the hover regression with translation tests
Hold the shared language-test lock through app construction, frame stepping, and harness teardown. Integrate main at bbd68068 to pick up the layer-mask thumbnail controls.
2026-11-26 02:14:42 +00:00
skylar taylor-barrick dc2c80739b Bake on the CPU under coverage so the Sonar shards stop crashing at exit (#840)
Merged under Skylar's explicit override (Nightly 792) after green CI, CodeRabbit on this head with no open threads, and an independent adversarial review with no blockers.
2026-11-25 20:02:16 -06:00
Chris Hassebrook bbd680686e Merge pull request #841 from vangel76/feat/mask-toggle-776
Switch a mask on or off with Shift+click, and leave mask view from the material thumbnail
2026-11-25 21:00:37 -05:00
chasse20 0bc7b1a95f Auto: Integrate rebuilt UV import from main
Bring in main at 1abfa79a with rebuilt UV import and saved layout support. Preserve the approved Painting and Baking hover regression and camera target validation.
2026-11-26 01:55:54 +00:00
chasse20 21073fbf76 Auto: Test texture-set hover previews and validate camera targets
Exercise pointer hover in Painting and Baking. Check that the hovered set reaches the 3D frame, leaving the row clears the preview, and selection stays unchanged.

Bring in camera.set validation from main. Reject malformed targets before changing camera state or advancing the session revision. Document and test that an omitted or null target preserves the current target.
2026-11-26 01:43:27 +00:00
Chris Hassebrook 1abfa79a89 Merge pull request #748 from vangel76/feat/uv-unwrap-on-import
Allow rebuilding mesh UVs in New Project
2026-11-25 20:43:13 -05:00
Chris Hassebrook 1c1e1c26d5 Merge pull request #739 from MMexicann/patch-5
fix(camera): reject malformed targets before updating the view
2026-11-25 20:26:30 -05:00
chasse20 632b2698c3 Auto: Preserve mask view on Alt-clicking the content thumbnail
Keep content selection active while Alt-click preserves the current viewport. Extend the Layers panel regression to exercise the gesture from Mask view.

All 20 Layers panel tests, UI Clippy, formatting, layering, and the isolated UI WebAssembly check passed.
2026-11-26 01:12:03 +00: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
chasse20 940a526539 Auto: Integrate main and preserve mask toggle targeting
Allow Shift-click to toggle an explicit layer without selecting it. Keep the argument-free shortcut inactive when selection is empty. Focus the toggled thumbnail and expose its translated on or off state.

Build the export preset filename lookup once per unique save and preserve filename-alias handling.
2026-11-26 00:59:41 +00:00
chasse20 565fdaf02d Auto: Integrate main and fix texture set hover checks and focus
Preserve main's bake and export updates in the prepared merge. Expose
Painting row selection to AccessKit and draw a distinct keyboard focus
outline.

Derive test coverage from flat base color so lighting cannot hide
covered samples. Check all exclusive neighboring pixels in one pass.
2026-11-26 00:53:34 +00:00
chasse20 b7abae10d7 Auto: Integrate main and strengthen camera target regression tests
Resolve the view-command imports so main's environment lighting and the shared target parser both compile. Clarify the command help, parse each camera angle once, and name the existing camera bounds.

Cover the complete pose and revision on rejection, and verify that omitted and null targets preserve the pivot while other settings change.
2026-11-26 00:42:41 +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
Chris Hassebrook 3b5afd3896 Merge pull request #735 from MMexicann/patch-2
fix(cli): reject invalid paths in batch scripts
2026-11-25 18:53:41 -05:00
vangel76 fea4a5e627 Shift+click on a mask thumbnail switches the mask on or off, the material thumbnail leaves mask view
Shift+click on a mask thumbnail runs mask.toggle on that layer instead of selecting the mask.
The mask thumbnail exposes a Mask off description while the mask is bypassed.
Clicking the material thumbnail returns the viewport from mask view to the material view.
2026-11-26 00:53:35 +01:00
Chris Hassebrook cd4e296743 Merge pull request #738 from MMexicann/patch-4
Reject invalid export preset save options
2026-11-25 18:43:18 -05:00