Commit Graph
1425 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
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
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 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
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
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
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
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
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
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
chasse20 b955de0e4d Auto: Fix MaterialX filename collision test
Use a real duplicate texture path in the fixture so literal token substitution remains intact. Validate the engine integration suite with the updated main.
2026-11-28 07:31:51 +00:00
Chris Hassebrook 7f16522d87 Merge pull request #889 from Rebornim/fix/images-used-material-effects
Assets: Remove unused keeps the package and maps of a material linked in a content effect
2026-11-28 01:41:44 -05:00
chasse20 4c1d486fc4 Auto: Integrate main and fix rename validation and export naming
Preserve both branches’ engine tests. Validate the project name before applying other dialog settings, clear discarded text undo history, and keep an unsaved project’s autosave filename stable across renames.

Expand export tokens once, preserve literal text in names, and sanitize flat stems directly. Reuse the dialog’s name buffer and update the command documentation and generated headless parity report.
2026-11-28 06:39:00 +00:00
chasse20 7b06725641 Auto: Fix recovery aliases and control replies after integrating main
Recognize alternate spellings of the same autosave without detaching an independent file. Return the recovered session's actual path and modified state from desktop file.open, borrow command parameters, and move the inspection result into its reply.

Extend the disk regression to verify both the recovered autosave and an explicit Save As after the original project autosaves again. Record the conditional file-identity dependency and its attribution.
2026-11-28 06:38:55 +00:00
Chris Hassebrook 7c8dd1ae4e Merge pull request #255 from SteamSmith/fix/mesh-folder-symlinks
Files a mesh references must stay inside its folder once links are followed
2026-11-27 22:55:58 -05:00
Chris Hassebrook d41cf01f7f Merge pull request #827 from Rebornim/feat/export-pass
Export pass: layered PSD, per-map size, shader settings, Esc, hover preview, look and spec-backed templates
2026-11-27 22:55:22 -05:00
Chris Hassebrook 216b199c5d Merge pull request #844 from Rebornim/feat/assets-pass-2
Assets panel pass 2: a right-click menu on every asset, favorites, a drag ghost that says where it can drop, automatic updates and a second Assets panel
2026-11-27 22:54:04 -05:00
Rebornim 1fbd533358 Start a new undo step when typing in a texture set's description after the field lost focus 2026-11-28 03:35:35 +00:00
Rebornim 2ffa8bfa6a Refuse an export size that would scale a tall set's tile past the largest image side, before any buffer is allocated 2026-11-28 03:35:35 +00:00
Rebornim 1dd4b9758b Pad a baked bent normal from its own island like the other tangent-space normals, not across a seam 2026-11-28 03:35:35 +00:00
Rebornim 827af86de3 Repad the tiles whose padding continues across a seam from a changed tile, however far away they are 2026-11-28 03:35:27 +00:00