Commit Graph
1189 Commits
Author SHA1 Message Date
FredAppsandClaude Opus 5.5 039b454867 Keep the resizable Export window from widening itself every frame
The Output templates and List of exports tabs size their columns from the
window's width, and some of their rows are a little wider than the column.
In the fixed-size window that overflow was clipped; in the resizable one it
widened the window, the next frame's columns took the new width, and the
window grew each frame until it ran off the screen, so clicks and hovers
missed their controls (nine export tests failed).

- The tab body lays out in a child area fixed to the body's rect, so an
  overflow is clipped as before and cannot widen the window.
- Each output map card takes the column's width; it took the width the
  card before it left, so every card was 9 points wider than the last.
- The input maps column is 210 points, wide enough for its naming-pattern
  row; at 170 its info icon was outside the window.
- The Save template and Load UI Layout pickers keep the reference titles
  the tests check ("Save template", "Select a UI layout file.").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:03:23 +01:00
FredAppsandClaude Opus 5.5 b57657438c Drop CodeRabbit's marker comments from the protocol doc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:05:50 +01:00
coderabbitai[bot] b6b761da86 Fix session log persistence and defer the sample project save prompt until selection
<!-- coderabbit-ai-generated:v1 -->
2026-11-24 08:01:32 +00:00
FredAppsandClaude Opus 5.5 e604486216 Bound the session log folders and import MaterialX from Import Resources
Each desktop run made a new logs/session-* folder that was never removed,
so the logs folder grew with every start. Starting a run now removes all
but the newest earlier runs' folders, keeping ten in all.

Removing File > Import MaterialX material... left no way to import a
.mtlx from the GUI. Import Resources now lists .mtlx files and imports
them as file.importMaterialX does, as a fill layer. The protocol doc no
longer points at the removed Import PBR texture folder item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:48:18 +01:00
chasse20 6bc4f3cafc Fix sample project picker and menu review findings 2026-11-24 02:23:29 -05:00
chasse20 86af6a3e1c Merge latest main into context-menu-parity
Integrate origin/main at 2037b6b8 while preserving the menu and dialog changes. Resolve the color-selection rewrite, toolbar imports, app state, and upstream test cleanup conflicts.

Validation: cargo +1.100.0 check -p texturecraft -p texturecraft-ui-egui --all-targets --locked passed. Tests and screenshots were not run.
2026-11-23 17:24:49 -05:00
Chris Hassebrook 2037b6b823 Merge pull request #784 from vangel76/feat/760-materialx-export-ui
Export OpenPBR MaterialX from the export window
2026-11-23 16:55:24 -05:00
chasse20 7ff8f65f77 Auto: Keep MaterialX references safe across texture sets
Reuse compatible template maps and write dedicated OpenPBR maps for the remaining supported inputs. Reserve earlier filenames and UDIM patterns before rendering, and omit inputs whose textures would belong to another set.

Report when an export writes no files. Cover map compatibility, collision handling, and empty exports with regressions and document the resulting behavior.

Integrate main without target-side content changes. Validated by the retained Linux cargo xtask ci run.
2026-11-23 21:15:39 +00:00
vangel76 94daa7370c Name the file in the MaterialX map warning and check reservedNames before creating the folder 2026-11-23 20:47:12 +01:00
Dylan M. Taylor ff79e861f8 revert: restore scheduled release.yml dry-run on main (#787) 2026-11-23 14:45:41 -05:00
vangel76 c9640bae07 Keep the files of earlier texture sets of an export when writing the MaterialX maps 2026-11-23 20:23:09 +01:00
vangel76 927fedf313 Show the export's warnings in the export console 2026-11-23 20:18:21 +01:00
vangel76 fa47c2c183 Force an OpenGL normal and keep the bit depth for the MaterialX maps 2026-11-23 19:40:01 +01:00
vangel76 b84f7b56e4 Write the OpenPBR maps for the MaterialX whatever template is selected 2026-11-23 19:23:50 +01:00
Dylan M. Taylor f6979544dd ci(release): publish scheduled nightly prereleases (#785) 2026-11-23 13:17:38 -05:00
vangel76 b53c931248 Add a MaterialX export option to the export window 2026-11-23 18:57:39 +01:00
Chris Hassebrook b592efefa5 Merge pull request #780 from storytold/779-test-and-unused-cleanup
Remove redundant tests and fix unused build warnings
2026-11-23 11:07:05 -05:00
chasse20 175e92dde6 Check translation lookup behavior without timing
Account for 1c2f9175 by removing its standalone benchmark. Replace the lookup_is_fast wall-clock check (F2) with language-switch and missing-translation assertions in saved_language_codes_and_spanish_lookup, following PhotoCraft’s translation tests.

Verified all seven i18n tests with coverage instrumentation and pinned catalogs, formatting, layering, and strict UI Clippy.
2026-11-23 10:03:38 -05:00
chasse20 1c2f91759b Measure translation lookup speed in a standalone benchmark
Move i18n::tests::lookup_is_fast to the translation_lookup benchmark (F2). Keep the 1,000 ns budget for warm lookups over the embedded Japanese catalog. Verify borrowed translations and the English fallback deterministically in the language-switch unit test.
2026-11-23 09:38:12 -05:00
Dylan M. Taylor 097017211d ci(release): forward ARTCRAFT_SERVICES_DISPATCH_TOKEN secret (#781) 2026-11-23 09:34:20 -05:00
chasse20 30b1f3b938 Validate control-server test replies as bounded bytes 2026-11-23 04:25:29 -05:00
chasse20 30d7ee51c4 Remove redundant tests and fix unused build warnings 2026-11-23 03:56:43 -05:00
Chris Hassebrook 2e8337ed62 Merge pull request #765 from Rebornim/split/698-5-filters
Properties (5/5, stacked on #764): filters
2026-11-23 03:02:45 -05:00
chasse20 71a5637701 Auto: Integrate main and streamline Warp and Blur Slope evaluation
Align the picker, catalog, replacement, defaults, and protocol on warp and blurSlope. Retire the old selectors, preserve stored filter settings, and apply Source Tiling to sampled inputs inside each UV tile.

Prepare Warp directions once per region and reuse the source for independent directions. Keep Chain sampling at each successive position.

Preserve main's draw identities and placed-fill picker. Repair sparse Compare and anchor evaluation, lighting, gradient boundaries, and seed restoration. Reduce redundant Color Match work, blur scratch, and cold environment reductions.

Validated with Linux cargo xtask ci, release compositor tests, CLI examples, and filter snapshots.
2026-11-23 07:21:19 +00:00
Chris Hassebrook f46ee813e1 Merge pull request #764 from Rebornim/split/698-4-effects
Properties (4/5, stacked on #763): effects, masks, folders and instances
2026-11-22 20:29:29 -05:00
chasse20 64d1108b14 Auto: Fix Compare evaluation, folder resets and mask editing
Integrate main's projector, resource-picker and UI changes. Keep Compare inputs tied to the correct folder draw, propagate filter margins through sparse masks, and preserve the real backdrop in folder thumbnails.

Retarget saved seed resets when folders are copied. Preserve grayscale tool choices, reject missing mask images before mutation, and release the previous anchor's draft and undo state when selection changes.

Borrow material data during planning and write filtered samples directly into output rows. Cover the repaired behavior in the compositor, engine and Properties tests.
2026-11-23 01:00:29 +00:00
Chris Hassebrook 7748b4414c Merge pull request #763 from Rebornim/split/698-3-material
Properties (3/5, stacked on #762): Material tab, colour picker, swatches and eyedropper
2026-11-22 18:29:19 -05:00
chasse20 8b2821e163 Auto: Integrate main and fix material preview and picker state
Preserve linked fills and imported alpha images, bind cached composites to their mesh, and keep delayed orb results from evicting newer previews. Avoid rendering hidden picker tiles, redundant queue scans and an extra HDR image buffer.

Correct picker cancellation, native pointer ownership, channel selection and single-parameter pattern edits. Update the Material controls guide, retain the approved Studio Small 09 attribution, and exercise the mask projection through its accessible control.
2026-11-22 22:19:46 +00:00
Chris Hassebrook 019fe97395 Merge pull request #762 from Rebornim/split/698-2-fill
Properties (2/5, stacked on #761): shared controls, Fill and Symmetry tabs
2026-11-22 15:24:38 -05:00
chasse20 763737a508 Auto: Integrate main and fix projection sampling and Properties edits
Preserve per-selection scrolling when integrating the Fill and Symmetry panels. Keep batched edits and final drag motion in the correct undo step, expire hidden editors and preview textures, and show keyboard focus on Properties controls.

Correct per-copy depth culling, UV footprints, linear-light mip filtering and memory accounting. Preserve cropped-fill coverage through placement and reload. Reject malformed decal dimensions before mutation and reuse mesh bounds within each operation.

Bound preview ray scratch with reusable row batches and clip hidden outlines before generating dashes.
2026-11-22 19:58:41 +00:00
Chris Hassebrook fc21815f50 Merge pull request #761 from Rebornim/split/698-1-controls
Properties (1/5, base of the stack): panel shell - header bar, popups, minimum width, scroll place
2026-11-22 06:44:54 -05:00
chasse20 a90313c888 Clear texture updates in the headless Properties scroll test 2026-11-22 06:06:10 -05:00
chasse20 c55be1940d Auto: Fix dock focus, popup dismissal, and Properties scroll state
Reuse the dock renderer’s tab geometry and keep keyboard focus visible across themes. Track outside drags through release in the main and floating viewports.

Keep Properties offsets only for live selections in the current project, including inherited masks and effects. Avoid copying layers in read-only Properties branches and release independent test apps between scenarios.

Integrate main’s shared PNG inspection for GLB and USD export.
2026-11-22 10:42:26 +00:00
Rebornim a9928aacf3 Instanced folders: a filter's lit layer and height read the instance's space too
The filter stack's own plans (the lit base colour below a filter and the heights it reads) take the traversal's folder offset, as the neighbourhood fields do since part 4.
2026-11-22 05:30:04 +00:00
Rebornim 8c521dbf56 Instanced folders: a neighbourhood filter under an offset folder reads its content in the instance's space
Reported by skylartaylor on #698: a Blur on a layer inside an instanced folder under a scaled or rotated folder read its content in the source's un-offset space. Neighbourhood fields are built and looked up per layer and folder offset, for content and mask fields and on the cached-layer path.
2026-11-22 05:30:04 +00:00
chasse20 a99c37392c Filters: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:04 +00:00
chasse20 71e35ae35c Effects, masks and folders: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:04 +00:00
Rebornim 7d8cbb658a Filters: the stand-ins parts 2-4 kept for the filter panel and the effect blend lookups go 2026-11-22 05:30:04 +00:00
Rebornim 616601d4a9 Temporary: filter effects keep main's filter panel until part 5, and effects read their blend through main's lookups 2026-11-22 05:30:04 +00:00
Rebornim b4d810ddcf Filters: engine evaluation, commands, docs and the remaining tests 2026-11-22 05:30:04 +00:00
Rebornim f49ff387f1 Effects, masks and folders: engine evaluation and the remaining tests 2026-11-22 05:30:04 +00:00
Rebornim 73ac56a987 Filters: the FILTER panel, its card, picker and parameters 2026-11-22 05:30:04 +00:00
Rebornim 32654f417e Folders and instances: Contents Scale and Rotation, Randomize seeds, the instance's source card 2026-11-22 05:30:04 +00:00
Rebornim 2eeadf2d71 Filters: the filter library and its maths (blur, bevel, glow, drop shadow, baked lighting, gradients, shape filters) 2026-11-22 05:30:04 +00:00
Rebornim 9ed26168d0 Layers: the layer toolbar (channel list, Add effect, Add mask) 2026-11-22 05:30:04 +00:00
Rebornim 0bea86f27d Effects: Anchor point panel and its references 2026-11-22 05:30:04 +00:00
Rebornim 876e8fd64f Masks: Colour selection panel 2026-11-22 05:30:04 +00:00
chasse20 0abf2805a8 Material and colour: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:03 +00:00
chasse20 a7d165e029 Fills: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:03 +00:00
Rebornim b746a68bf3 Effects: Levels and Compare mask panels 2026-11-22 05:30:03 +00:00