Commit Graph
568 Commits
Author SHA1 Message Date
vangel76andClaude Sonnet 5.5 2e021b851b Adapt the bake job tests to RunningBake and mesh_id
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:16:45 +01:00
vangel76andClaude Sonnet 5.5 0cf1edb328 Use the shared file dialog for Change mesh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:16:28 +01:00
vangel76andClaude Sonnet 5.5 b52fca296d Use as_chunks in the change-mesh test (clippy)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:15:57 +01:00
vangel76andClaude Sonnet 5.5 b944a04cd2 Merge upstream/main into fix/205-change-mesh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:01:17 +01:00
FredApps 8083ca08a5 Merge pull request #264 from Aalzard/layers-panel-redesign
Layers panel: live thumbnails and a clearer row layout
2026-11-10 21:23:02 +01:00
FredApps 4a3e5c41b4 Return test setup errors before assertions 2026-11-10 20:44:42 +01:00
FredApps 26ddc8c256 Merge main and keep nested thumbnail controls accessible 2026-11-10 20:10:52 +01:00
FredApps b855e542fb Merge pull request #378 from storytold/sonar/appimagetool-https
packaging(linux): refuse non-HTTPS redirects when fetching appimagetool
2026-11-10 18:43:35 +01:00
FredApps fd7baa02b7 Merge branch 'main' into sonar/appimagetool-https 2026-11-10 18:23:44 +01:00
Chris Hassebrook 24062ad6c0 Merge pull request #335 from Rebornim/feat/x-swap-mask-value
X inverts the mask paint value
2026-11-10 10:46:36 -05:00
FredApps 9de96cfee4 FreeBSD CI: run the GPU crates' tests one at a time (#379)
* FreeBSD CI: run the GPU crates' tests one at a time

The FreeBSD VM's software Vulkan driver crashes (SIGSEGV) when several tests create a wgpu device at once. texturecraft-render's lib and headless tests, and earlier texturecraft-automation's, died this way in every FreeBSD run since Nov 6, with no render or dependency change. photocraft already serializes its GPU tests for the same reason; do the same for the crates that open a device.

* FreeBSD CI: test the whole workspace one test at a time

Excluding the GPU crates from the parallel run changed feature unification, and winit then built without its X11/Wayland backends (compile_error on FreeBSD). Run the whole workspace in one cargo test with --test-threads=1 instead.
2026-11-10 14:30:38 +01:00
chasse20 7de078d8d9 Merge main and tidy mask-value shortcut tests 2026-11-10 07:15:02 -05:00
chasse20 2d0b8e6a48 Fix thumbnail previews and cache retention 2026-11-10 06:37:12 -05:00
Chris Hassebrook 1de6bb21c3 Merge pull request #234 from vangel76/fix/clippy-chunks-exact-to-as-chunks
Fix the Rust 1.99 clippy findings
2026-11-10 05:54:02 -05:00
chasse20 368731f7a4 Fix Clippy checks and clean up affected functions 2026-11-10 05:33:20 -05:00
chasse20 a5f09109ea Merge main into PR 234 2026-11-10 05:33:20 -05:00
FredApps 7538889494 packaging(linux): refuse non-HTTPS redirects when fetching appimagetool 2026-11-10 11:12:49 +01:00
FredApps c54f3fdf0c Merge pull request #270 from Aalzard/live-bake-preview
Live bake preview: each mesh map shows on the model as it finishes
2026-11-10 10:22:44 +01:00
Chris Hassebrook dca182b160 Merge pull request #377 from storytold/376-improve-pr-guidelines-doc-to-better-defend-against-memory-leakage
Updated helpful PR guide to be more defense against memory leakages
2026-11-10 03:45:43 -05:00
chasse20 65a00a31f9 Updated helpful PR guide to be more defense against memory leakages 2026-11-10 03:44:52 -05:00
FredApps 7c440b1e3e Retain unchecked maps once per streamed bake 2026-11-10 09:39:28 +01:00
FredApps 3fc540e570 Test retained-map allocations in streamed partial bakes 2026-11-10 09:31:14 +01:00
Chris Hassebrook 54576658c1 Merge pull request #346 from Rebornim/fix/panel-tidy
Tidy the Shader, Display, History and Log panels
2026-11-10 02:46:28 -05:00
chasse20 6cdc7789cb End ID color picking before bake preview 2026-11-10 02:41:08 -05:00
chasse20 3496930a87 Cancel active strokes when bake preview starts 2026-11-10 02:29:37 -05:00
chasse20 7e2b3c7e6a Move bake preview setup into the engine 2026-11-10 01:58:43 -05:00
chasse20 832a7f9e89 Fix live bake preview review findings 2026-11-10 01:34:02 -05:00
MistyMystery 424ab64ce8 Merge upstream main into layers-panel-redesign 2026-11-09 23:54:51 +04:00
MistyMystery 0c1f66d1f5 Live bake preview: update for the bake refactor, share streamed map buffers, narrow the cancel guarantee
Merge upstream main into the branch. The streamed bake now returns the same Arc buffers it handed to the preview, and the document stores those, so a preview never holds a second copy of a map. A cancel leaves the set being baked as it was; sets that finished earlier stay applied.
2026-11-09 19:49:07 +04:00
Dylan M. Taylor f5e41e759f docs: add SonarCloud badge to README (#371) 2026-11-09 10:09:43 -05:00
Chris Hassebrook 85729f1fae Merge pull request #368 from dotCooCoo/feat/shared-ui-crates
UI: use the shared craft-libs crates for dialogs, shortcuts and quit
2026-11-09 01:48:44 -05:00
dotCooCoo de41770d57 Window: name the default and minimum window sizes, and canceling Import Images leaves the panels alone 2026-11-08 22:25:44 -08:00
dotCooCoo 7f52b87b85 UI: use the shared craft-libs crates for dialogs, shortcuts and quit
Bumps craft-ui and craft-window to craft-libs 1b34eba4 and replaces the
app's own dialog, shortcut and quit code with the shared crates.

File dialogs go through craft-dialogs and no longer stop the frame. An
action that needs a path asks for it and continues when the dialog
answers. An answer that acts on the project does nothing, with a toast,
when another project was opened meanwhile. The browser build keeps its
pickers and the startup and crash message boxes stay blocking.

Shortcuts run through craft-keymap's dispatcher, in the main window and
in floating panels. Saved shortcuts keep their stored form, and the
Keyboard shortcuts window and the shortcut labels do not change. A
shortcut on a symbol that needs Shift is recorded without Shift, and
saved shortcuts in the old form still run. A shortcut now runs only on
its exact chord: an extra Shift or Alt no longer runs a plain-key
shortcut.

A window close quits through craft-quit, and the close check runs in
logic, so closing a minimized window with unsaved changes restores it and
asks. A close during a stroke finishes the stroke and asks. The macOS app
menu comes from craft-menu. The unsaved-changes prompt goes on once its
Save dialog has saved the project, and stays open after Cancel or a failed
save.

The window frame guard on Windows and the title bar's buttons stay in the
app, since craft-libs has no code for them.
2026-11-08 22:07:12 -08:00
Chris Hassebrook db04b05e81 Merge pull request #366 from SteamSmith/fix/reimport-from-disk
Reimport mesh reads the mesh file again from disk
2026-11-09 00:17:21 -05:00
Dylan M. Taylor b09d51fd7e Merge pull request #367 from dotCooCoo/feat/self-updater
Updates: Help > Check for Updates and a check at start
2026-11-09 00:00:59 -05:00
dotCooCoo c8ed91f6b3 Updates: Help > Check for Updates and a check at start
TextureCraft is updated only through the launcher, so a copy downloaded
directly is never told about a new version. The desktop app now checks
GitHub releases at start and from Help > Check for Updates, through
craft-update at craft-libs 1b34eba4. A run with --control skips the check
at start. A ready update installs when the app closes, and it waits for
unsaved changes, a stroke, a bake or a resize. The update prompt and the
modal result window hold the keyboard, so shortcuts do not act on the
project behind them. The web build is unchanged.
2026-11-08 20:32:44 -08:00
SteamSmithandClaude Sonnet 5.5 e5f76eb310 fix: never read the remembered mesh path implicitly
A project file could set mesh_path to any host file, and automation allows a
file.reimportMesh without a path, so that command would have read it without
workspace authorization. A command without a path now always uses the
project's own copy again. The desktop UI passes the remembered path itself
(Session::remembered_mesh_path, one rule for "remembered and still there"),
and asks for a file when there is none. Also moves the misplaced doc comment
on read_mesh and documents the touched functions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 23:24:24 -05:00
SteamSmithandClaude Sonnet 5.5 d8d4140e11 fix: Reimport mesh reads the mesh file again from disk
Reimport mesh re-read the project's own stored copy of the mesh when it had
one, so saving a change to the mesh file and reimporting did nothing. The
project now remembers the path the mesh was imported from (mesh_path, the
spec's "3D mesh path") and Reimport reads that file again. When the file is
gone the menu asks for one, and a command without a path still falls back to
the stored copy. Projects saved before this have no path and ask once.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 23:11:37 -05:00
Chris Hassebrook b9ace8c7bc Merge pull request #328 from Rebornim/feat/import-baked-maps
Import baked maps when creating a project
2026-11-08 22:16:46 -05:00
chasse20 c573250601 Merge latest main into baked map import
Preserve both module and translation additions. Register the baked map tests in the consolidated integration suites.
2026-11-08 21:42:24 -05:00
Chris Hassebrook 010db5957f Merge pull request #314 from Rebornim/feat/color-selection-editor
Color selection editor: edit the ID colors, pick them from the ID map
2026-11-08 20:45:25 -05:00
chasse20 2898a26d46 Reconcile PR history with validated merge resolution 2026-11-08 20:27:28 -05:00
chasse20 12eb4a45da Merge main and resolve color selection UI conflict 2026-11-08 20:25:00 -05:00
Chris Hassebrook c1b358f9cc Merge pull request #309 from Rebornim/fix/layout-persistence
Panel layouts survive a restart
2026-11-08 20:12:58 -05:00
chasse20 5c842b9fd5 Reconcile PR history with validated merge resolution 2026-11-08 19:55:22 -05:00
chasse20 3a5c90ad82 Merge main and resolve UI persistence conflicts 2026-11-08 19:53:38 -05:00
Chris Hassebrook 796498b86f Merge pull request #343 from Rebornim/feat/bake-visualization
Bake mode: draw the high poly, the cage and where the bake's rays miss
2026-11-08 19:37:07 -05:00
chasse20 4ed0d49a1c Move bake preview classification into the engine
Share visualization settings between scene shading and GPU sync, and use then_some for the conditional low-poly pass. Cover per-set distances, selected-set filtering, missing inputs and ownership with engine tests.
2026-11-08 19:13:06 -05:00
chasse20 74c68e005a Merge main and resolve translation conflicts 2026-11-08 18:55:48 -05:00
Chris Hassebrook 7b5cccf1af Fix bake preview safety, seams and visibility 2026-11-08 18:49:05 -05:00