Commit Graph
1460 Commits
Author SHA1 Message Date
a2andClaude Sonnet 5.5 beea46c9e2 fix(engine): Open in MaterialCraft stages its package in a private folder
The button wrote <temp>/<name>.mcraft with a plain fs::write. On a shared temp
folder another local user could plant a file or link at that guessable name
first, and the write went through it. The package now goes into a new random
folder made exclusively (0700 on Unix), as a create_new file; folders over a
week old are swept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 21:00:18 -05:00
aiongg 58c9bc07e3 Merge pull request #854 from MorionTutoriales/fix/851-autosave-names
Autosave: give each project its own copy (#851)
2026-11-26 18:35:00 -05:00
aiongg d6dfd69bcd Merge pull request #850 from Ap3pp3rs94/feat/mesh-export-recompute-normals
feat(mesh): make normal recomputation a real export option
2026-11-26 18:01:18 -05:00
autocraft-bot[bot] 5591288d89 Apply review fixes
- crates/ui-egui/src/autosave_name.rs
2026-11-26 22:55:53 +00:00
test-bit-sys 5ddec31f80 fix(engine): inspect direction on earlier-model generators (#873) 2026-11-26 21:56:27 +00:00
autocraft-bot[bot] 1b32764b7a Merge main into fix/851-autosave-names 2026-11-26 21:48:58 +00:00
autocraft-bot[bot] 448d22aa26 Apply review fixes
- docs/ui-parity.md
2026-11-26 21:31:02 +00: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
Morion cfdb0e57d5 Autosave: widen the copy suffix to 64 bits 2026-11-26 11:49:41 -05:00
ATOM 0fbfec1c3d fix(mesh): weld recomputed normals and make export opt-in 2026-11-26 10:36:05 -06: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
Morion 82e81e518b Autosave test: install the headless runtime on its harness 2026-11-26 10:09:18 -05:00
Morion e9a1dc5867 Merge remote-tracking branch 'origin/main' into fix/851-autosave-names 2026-11-26 08:39:16 -05: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
autocraft-bot[bot] f9d29d9ccf Apply review fixes
- crates/ui-egui/src/autosave_name.rs
2026-11-26 07:33:47 +00:00
autocraft-bot[bot] eda265b470 Apply requested fixes
- crates/ui-egui/src/autosave_name.rs
- docs/features.md
2026-11-26 07:21:04 +00:00
autocraft-bot[bot] 6a3b3c1ba0 Merge main into feat/mesh-export-recompute-normals 2026-11-26 07:13:22 +00: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
ATOM 14deaa61de fix(ui): preserve normal export choice across layouts 2026-11-25 23:34:31 -06: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
Morion 23d3f9ae71 Autosave: give each project its own copy
The copy was named after the project, whose name comes from the mesh file, so projects made from one mesh overwrote each other's autosave. It is now `<stem>-<suffix>.tcraft`: from the saved file and its path, or a suffix of its own while the project is unsaved. A project opened from its copy keeps writing to it.

Fixes #851
2026-11-26 00:27:10 -05:00
ATOM 8700efc30c feat(mesh): make normal recomputation a real export option 2026-11-25 22:45:46 -06: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