Commit Graph
1724 Commits
Author SHA1 Message Date
chasse20 a020271842 Auto: Integrate main and streamline History and Log panels
Name the scrollbars for assistive technology. Verify that resizing keeps the whole current History row visible and that a horizontally scrolled Log entry copies with its original line breaks.

Borrow visible History labels and reuse formatted Log text to reduce temporary allocations. Validate with the focused Linux suite and the WebAssembly checks.
2026-11-29 20:18:13 +00:00
Chris Hassebrook 4792c1ed14 Merge pull request #876 from Rebornim/feat/texture-sets-pass
Texture Set list and Texture Set Settings: the missing settings and controls
2026-11-29 09:15:24 -05:00
Rebornim 226e2de43a Keep the current History step on screen when the list gets shorter 2026-11-29 13:38:16 +00:00
Rebornim 0b0a5337f6 Bring the current History step into view when a full history repeats a name 2026-11-29 10:22:30 +00:00
chasse20 b5d9abbb91 Auto: Fix texture set resize ownership and reduce memory peaks
Reject resize results from another project. Release stale pixels and caches before retrying a resize within the original project, preserving intervening edits and one-step undo.

Fix rectangular height sampling, seam-boundary coverage, malformed set selectors and saved channel ordering. Reduce temporary composite and mesh-partition storage, and pack mixed-aspect trace textures without changing their samples.

Keep channel actions reachable in short windows, strengthen export and modal regressions, document the control commands and remove unrelated formatting changes.
2026-11-29 08:04:24 +00:00
Rebornim 41b8a69818 Merge upstream main into the texture sets pass
# Conflicts:
#	crates/formats/src/mesh_import/external.rs
#	crates/ui-egui/build.rs
#	crates/ui-egui/i18n_build.rs
#	crates/ui-egui/src/lib.rs
#	crates/ui-egui/src/menus.rs
#	crates/ui-egui/src/shelf.rs
#	crates/ui-egui/src/shelf_updates.rs
#	crates/ui-egui/tests/i18n_build.rs
#	crates/ui-egui/tests/it/shelf_updates.rs
2026-11-29 06:30:40 +00:00
Chris Hassebrook b65ef83c63 Merge pull request #223 from simonhull/fix/panic-safe-session-edit
Restore the document when a command panics mid-edit
2026-11-29 00:08:00 -05:00
Chris Hassebrook 8e6c845272 Merge pull request #206 from Silvertree2010/fix/201-launcher-install-texturecraft-ca
Find MaterialCraft in the sibling launcher install folder
2026-11-29 00:07:13 -05:00
Chris Hassebrook 248247c5c4 Merge pull request #192 from JonRC/fix/headless-render-without-compute
Headless render on adapters without compute shaders, and the wgpu env vars
2026-11-29 00:06:47 -05:00
Chris Hassebrook 5ceb532e8d Merge pull request #863 from Rebornim/feat/brush-props-pass
Paint tool Properties parity: brush, alpha, stencil and material tabs
2026-11-29 00:03:52 -05:00
Dylan M. Taylor 886c7d8aa5 fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#904) 2026-11-28 22:41:27 -05:00
SteamSmithandClaude Sonnet 5.5 14cd65692e fix: same_document ignores crate-private Document fields (main added painted_regions)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 21:11:06 -05:00
SteamSmith 219b3490c8 Merge remote-tracking branch 'origin/main' into work/223 2026-11-28 21:06:32 -05:00
SteamSmithandClaude Sonnet 5.5 aabf1c06dc fix: a failed or panicking edit marks the restored document's tiles dirty again
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 20:55:04 -05:00
SteamSmithandClaude Sonnet 5.5 d6f6f30169 test(192): spawn the CLI through cli_binary() so nextest archives on another runner find it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 20:55:03 -05:00
SteamSmithandClaude Sonnet 5.5 b6dbef1b34 test(192): the no-compute test also checks the GPU baker refuses with a reason
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 19:41:25 -05:00
SteamSmithandClaude Sonnet 5.5 45ea33d09d fix(render): size-limit tests no longer assume wgpu's default 256 MiB buffer limit
The headless device now asks for the adapter's own limits, so on a desktop GPU the 8192x8192
reset in failed_reset_retains_the_active_render succeeds and the test failed. The test now uses a
device capped at 256 MiB (Headless::with_buffer_cap, test only). Also: ImageRes fields are private
on main, so the environment-usage test builds its image with ImageRes::new.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 19:21:36 -05:00
SteamSmithandClaude Sonnet 5.5 12632c3652 merge: origin/main into fix/headless-render-without-compute
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 19:21:36 -05:00
SteamSmith 5f116a74cf Merge remote-tracking branch 'origin/main' into review/206-fix
# Conflicts:
#	crates/engine/src/link_cmds.rs
2026-11-28 19:20:45 -05:00
Rebornim ea0cb24113 Merge upstream main into the texture sets pass 2026-11-29 00:20:33 +00:00
Dylan M. Taylor 846553d13d ci: pin storytold/craft-common-actions to @main universally (#901) v0.6.1-nightly.20261129.46218807490.1.g846553d13d90 2026-11-28 16:07:28 -05:00
Rebornim 5e132ba903 Show the Log as a framed list of one-line entries
The Log's lines sit in a sunken box joined to the open tab: one row per
line, never wrapped, with vertical and horizontal scrollbars and the
whole row banded while selected. The widest line of each tab is measured
once per new line, so a long log doesn't lay out every line each frame;
rows are laid out only while visible. The Assets tab's greyed warnings
filter sits in a strip above the list and has the accessible name
"Warnings".

Part of #890.
2026-11-28 19:49:30 +00:00
Rebornim 6754228e64 Split the Log panel's width between its General and Assets tabs
The two channel tabs fill the panel's width in equal halves, in small
bold capitals: the open tab on the list's field colour with no line
under it, the other on the row band with dim text. Each tab is a
focusable control with the tab role and its selected state. The Log's
lines keep a small inset from the panel's edges.

Part of #890.
2026-11-28 19:41:36 +00:00
Rebornim 7f9ee780a2 Keep the current History step in view, with the scrollbar always shown
The History list opens at the newest step and scrolls the current step
into view when the history changes (a new step, undo, redo or a jump);
a tool, camera or selection change leaves a list the user scrolled where
it is. Rows are laid out only while visible. The list's scrollbar is a
solid 8 px bar in the theme's colours, shown even when the list fits.

Part of #890.
2026-11-28 19:41:36 +00:00
Dylan M. Taylor ded20a74bd ci(sonar): exclude diagnostic wasm_size_report.py CLI script from taint analysis (#900) v0.6.1-nightly.20261128.46182144970.1.gded20a74bdd9 2026-11-28 14:37:04 -05:00
chasse20 b1a0944f89 Auto: Integrate main and resolve catalog embedding conflict
Preserve distinct-character collection for font subsetting alongside main's catalog accessor and compressed wasm embedding. Exercise the generated accessor with both populated and empty catalogs.
2026-11-28 19:13:49 +00:00
Dylan M. Taylor 4336c9accd fix(web): inline realpath prefix check in wasm_size_report.py for SonarCloud (#899) 2026-11-28 13:24:25 -05:00
SteamSmithandClaude Sonnet 5.5 5ebe488019 test(render): an adapter without compute shaders gets a tracer error, not a panic
Builds a no-op adapter with WebGL2-class limits: the viewport renderer still builds and the GPU
path tracer refuses with a message naming compute shaders.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 12:51:39 -05:00
Dylan M. Taylor c80f93efd3 ci(nightly): pin shared signing workflows, move macOS notices to Resources/docs, and fix profile reopen (#896)
* ci(nightly): pin shared signing workflows, move macOS notices to Resources/docs, and fix profile reopen

* style(profile_root): format with rustfmt
2026-11-28 11:51:05 -05:00
SteamSmithandClaude Sonnet 5.5 0097f99053 test(engine): edge cases for find_installed_tool (folder named like the tool, no parent, missing app folder)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 10:30:31 -05:00
FredApps 6339b30cbc Merge pull request #894 from storytold/fix/wasm-size-profile
web: get the wasm under the 24 MiB gate (size profile, deflated embedded data, size report)
2026-11-28 15:41:43 +01:00
Rebornim 178e2d1928 Show History steps as flat rows with the current step outlined
The History panel lists every step as a full-width row: the current step
is outlined in the accent, the pointer's row gets a soft band, undone
steps stay dim and clickable. The Undo and Redo buttons under the list
are gone; undo and redo stay in the Edit menu and on Ctrl+Z / Ctrl+Y.

Part of #890.
2026-11-28 11:59:48 +00:00
Rebornim f44a45478a Size the channel window's list to the room the title bar and footer leave, so Apply stays on screen in a short window 2026-11-28 10:20:54 +00:00
Rebornim 9d6531c43f Name the view camera and view mode pickers for screen readers
Both boxes showed only their value, so they had no accessible name.
Once the window settles, the accessibility check fails on them in a short
window (rail::history_actions_remain_reachable_in_a_short_window).
2026-11-28 09:46:59 +00:00
Rebornim 5883353858 Keep F2 and the menu keys from the texture set list while a dialog is open 2026-11-28 09:23:18 +00:00
Rebornim 9df6e65efa Put the channel window's legend on its own row when the footer is too narrow for it beside Apply to all Texture Sets 2026-11-28 09:23:18 +00:00
Rebornim ea94342ff0 Leave a set's other files to export when its PSD's map size scales the set past the largest image side 2026-11-28 09:23:18 +00:00
Rebornim b6809d1d09 Scan only the band beside a seam for its padding texels, not the seam's whole bounding box 2026-11-28 09:23:18 +00:00
chasse20 3b858f1a17 Auto: Integrate main with rectangular texture exports 2026-11-28 08:55:08 +00:00
FredApps 7001cac3eb ui-egui: name each generated font file after its full craft-fonts path
Faces that share a file name in different folders no longer overwrite
each other under OUT_DIR.
2026-11-28 15:53:44 +07:00
chasse20 ccf2ad6b52 Auto: Restore neutral quick-mask previews and clarify size jitter
Show neutral coverage in the brush preview while editing the quick mask. Add a headless regression for the tint transition and document how pressure and jitter independently affect 3D stamp size.
2026-11-28 08:46:07 +00:00
chasse20 c6a8a86247 Merge reviewed target into TextureCraft rectangular textures 2026-11-28 08:38:21 +00:00
FredApps 2332602c4e web: embed fonts, catalogs, the icon font and the studio HDR deflated
The web build is under a 24 MiB download budget. Its embedded data is
now stored deflated and inflated once at startup: the craft-fonts faces,
the translation catalogs, the Phosphor icon font and the studio
environment HDR. egui's default faces come from craft-ui's deflated
copies instead of egui's default_fonts feature, and the engine's
built-in text fonts (Ubuntu Light, Hack) come from the same copies
through text_cmds::provide_built_in_fonts. Desktop builds are unchanged.
2026-11-28 15:37:56 +07:00
chasse20 31d1b7b241 Auto: Integrate main and honor brush preview channel toggles
Bring in main's project rename changes. Use the existing preview fallbacks for disabled Base Color, Metallic, and Roughness channels while preserving their values for re-enabling. Cover the rendered preview with a regression test.
2026-11-28 08:27:36 +00:00
FredApps e70e4cbf84 Merge remote-tracking branch 'origin/main' into fix/wasm-size-profile 2026-11-28 09:16:22 +01:00
FredApps bf379a3937 web: only read .wasm files under the repo or CARGO_TARGET_DIR in the size report 2026-11-28 09:16:22 +01:00
Chris Hassebrook 5e8ccdb9d3 Merge pull request #864 from MorionTutoriales/fix/857-rename-project
Make the project renamable (#857)
2026-11-28 03:09:53 -05:00
chasse20 f2176331a0 Auto: Integrate main into Paint Properties
Preserve desktop autosave recovery and retain the package and cooked maps of linked materials used in effects. Keep both lockfile dependency entries and the approved Paint Properties changes.
2026-11-28 08:08:38 +00:00
chasse20 32c89f35f4 Auto: Integrate main and repair paint, asset, and export previews
Keep main's Assets, Export, and headless parity changes alongside the unified Paint Properties sheet. Preserve history on fully blocked strokes, release obsolete preview resources, and redraw brush and stencil pictures at the correct scale and placement.

Load visible thumbnails on demand, resize common custom previews from borrowed pixels, and release stale file textures and project notifications. Index favorite ranks per draw and remove unused resources without repeated library scans.

Preserve export folds across job startup. Share idle plans between the footer and file tree, borrow running-job plans, and avoid redundant label measurements and template copies. Collect distinct catalog characters before sorting them for font subsetting.

Repair the Assets snapshot setup, isolate saved-brush test files, and clarify affected code and regression fixtures.
2026-11-28 08:00:03 +00:00
Chris Hassebrook a7180a23ba Merge pull request #879 from MorionTutoriales/fix/851-recovered-copy
Autosave: open a copy as an unsaved project
2026-11-28 02:41:51 -05:00