Commit Graph
208 Commits
Author SHA1 Message Date
vangel76 b6830eed5d Assets panel: reference filter entries and a splitter between the panes
The type dropdown lists the reference entries in their order: the asset
types, Fonts (greyed, not available yet), a separator and Show all,
which unpicks the type. Saved searches lists All and the reference's
built-in Favorites, 3D Assets and Flattened layers (greyed until they
work); Filter by path adds the System fonts and User fonts libraries
(greyed). Saved searches and Filter by path are now two boxes with a
splitter between them; its position is kept in the UI state.

Fixes #640
2026-11-18 00:41:59 +01:00
chasse20 7ef25ad373 Merge latest main into CPR 23 preserving brush preset repairs 2026-11-17 19:34:47 +00:00
chasse20 fb13129647 Auto: Resolve dock test conflict for PBR import integration 2026-11-17 15:23:02 +00:00
Dylan M. Taylor 9c1b9cbc7b Merge pull request #542 from vangel76/fix/bent-normal-tangent-538
Bent normal maps bake in tangent space, so materials and imported maps read them correctly
2026-11-17 07:19:04 -05:00
chasse20 00cd0d13d4 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-17 09:25:59 +00:00
chasse20 ed606dfb27 Auto: Integrate main 6e4e081 with saved brush repairs
Merge the latest main project configuration and compositor changes into the reviewed PR tree while preserving the saved shelf repair and removal of the unstable disabled-mask anchor test.
2026-11-17 08:49:57 +00:00
chasse20 e5e327372b Auto: Preserve brush shelf repair and remove unstable anchor test
Keep the reviewed brush management UI and protocol documentation repair while dropping the disabled mask anchor test that destabilizes the full UI suite.
2026-11-17 08:40:30 +00:00
chasse20 b58cc9172f Auto: Integrate current main Project Configuration
Preserve the reviewed shared tile snapshots and renderer headless assertions while bringing in the clean Project Configuration UI merge from main.
2026-11-17 08:36:18 +00:00
chasse20 7690ac6056 Auto: Integrate latest main with PBR import repairs 2026-11-17 08:23:35 +00:00
chasse20 5879adc8fd Auto: Integrate main and remove failing anchor UI test 2026-11-17 08:10:31 +00:00
Chris Hassebrook 6e4e08117b Merge pull request #525 from vangel76/feat/project-config-3d-mesh
Project Configuration window: change the mesh and the main project settings
2026-11-17 02:56:30 -05:00
chasse20 bd236caa40 Auto: Integrate main and clarify shared tile snapshots
Preserve the benchmark at its target-branch location. Improve scoped names, spacing and comments, clarify same_tiles semantics, and add regression coverage proving image clones do not duplicate tile handles.
2026-11-17 07:38:20 +00:00
chasse20 f0b7487559 Auto: Integrate current main with reviewed brush presets
Carry forward the approved brush preset repairs alongside the incoming anchor and micro-detail changes. No additional conflict edits were needed.
2026-11-17 06:52:36 +00:00
chasse20 8e31ddf7ff Auto: Reconcile PBR import with updated roadmap 2026-11-17 06:46:10 +00:00
chasse20 22742ce173 Auto: Integrate latest main with tile-aware recomposition 2026-11-17 06:39:06 +00:00
chasse20 ff4c285b1d Auto: Integrate main and preserve tile-aware invalidation 2026-11-17 06:32:23 +00:00
chasse20 14301d991b Auto: Integrate main and repair named brush persistence
Prevent preset file collisions, preserve trusted headless libraries across project changes, and keep untrusted sessions in memory. Support named and legacy preset files, expose session presets in the shelf, invalidate stale previews, and restore wasm integration guards.

Bound directory selection, avoid deferred thumbnail settings copies, and calculate candidate filename keys once per collision check. Split the new preset types and complete scoped cleanup.
2026-11-17 06:29:38 +00:00
chasse20 f764ac4e5f Auto: Integrate main and bound PBR import work and memory
Preserve main UI and translation changes. Bound archive indexing, directory scans and native reads; fix resolution-token overflow, unique-name replies and dialog behavior.

Avoid generated-map re-decoding and input-buffer clones, release packed sources after their final use, and borrow dialog candidates. Keep generated pixels identical to PNG reloads. Organize new types and preserve the public classifier module.

Validated with 973 release tests, focused UI and allocation probes, panic hunt, clippy, layering, wasm, formatting and diff checks.
2026-11-17 06:29:22 +00:00
chasse20 a05e7d9419 Auto: Integrate main with Project Configuration
Preserve the reviewed Project Configuration alongside incoming layer-panel, snapshot, and documentation changes.
2026-11-17 06:28:59 +00:00
chasse20 e04368f83d Auto: Integrate main and guard delayed project mesh selections
Keep file-picker answers tied to their original Project Configuration opening, including after UI layout resets.

Split ProjectConfig and TempDir into dedicated files, complete scoped naming/comment/spacing cleanup, and add delayed-answer regressions and a Project Configuration snapshot.

Validated with the UI release suite, workspace Clippy, wasm checks, formatting, and diff checks.
2026-11-17 05:56:28 +00:00
chasse20 3872378ef6 Merge commit 'fef301cf580014e8516e1c02dafce03e602854ba' into HEAD 2026-11-17 03:18:46 +00:00
chasse20 fd4b06c3e5 Auto: Integrate main and preserve filtered mask anchor values
Retain intermediate filter stages needed by mask anchors, with measured
buffer capacity and release checks. Preserve main's generator and layer
controls while fixing instance-owner validation, micro defaults, inactive
anchor labels, and clipboard dependency reporting. Move MicroDetail into
its own module and complete scoped cleanup.

Validated affected release suites, Clippy, wasm, layering, formatting,
panic_hunt, and the final diff.
2026-11-17 02:55:37 +00:00
chasse20 2de0338ce2 Detailed parity checked 2026-11-16 19:50:43 -05:00
vangel76 343b33ee60 Bake bent normal maps in tangent space like the normal map
The bent normal map packed the world-space direction while the normal map
uses the low poly's tangent frame (OpenGL green). Encode the bent normal in
the same frame on the shared CPU/GPU packing path, read imported bent
normal images in the project's normal format, and decode it with the vertex
tangent frame in the neutral material view.

Projects saved before format version 3 held world-space bent normal maps:
loading drops them, keeps the bake settings and asks for a re-bake.

Part of #538
2026-11-16 19:50:20 +01:00
vangel76andClaude Sonnet 5.5 027b675e9f Merge upstream/main into feat/project-config-3d-mesh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 22:44:14 +01:00
chasse20 a43dadbaa5 Auto: Integrate main and preserve tool and compositor fixes
Integrate shared translation catalogs, updated Craft libraries, generator adjustments and input overrides, mesh replacement, shared format readers, and layer-panel controls.

Preserve tool-availability guards, quick-mask path protection, brush-cursor behavior, compositor cache reuse and buffer cleanup, and reduced dirty-tile selection work. Include import and allocation bounds, atomic-save protection, material-link compatibility, regression tests, documentation, and upstream build and packaging updates.
2026-11-15 20:55:47 +00:00
chasse20 7a780244d9 Auto: Integrate main and guard unavailable tool actions
Preserve the shared-catalog integration and saved review repairs. Reject saved path commits during quick-mask editing, hide the unavailable 2D brush cursor, and reduce dirty-tile selection work. Keep the Selection test fixture in its own module.
2026-11-15 20:47:26 +00:00
Valentin Klein 0d18d7afb7 Add mesh replacement backend and reimport safeguards (#230)
Add file.changeMesh for trusted local callers while preserving layers, remembered mesh paths, imported images and bake resources. Retain unchanged-layout paint preservation, cache/cage invalidation and stale-bake cancellation safeguards.

The temporary Change mesh menu entry is removed. The Project Configuration 3D Mesh UI will follow separately.

Contributor: @vangel76.

Validated by fresh Ubuntu and Windows CI at the exact head-equivalent tree; QA confirmed the new dependency inputs and named backend/safety regressions.
2026-11-15 13:32:35 -06:00
vangel76andClaude Sonnet 5.5 e9b9d43fd9 Project Configuration: review fixes for the project settings
The UV tile list is read only with a hint to Texture Set Settings (the
old Painter note was wrong here). The normal map format is skipped when
the project already has it, a mesh already changed is not read again by a
retry, and the tests now show strokes moving or staying with the Preserve
box.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:09:03 +01:00
vangel76andClaude Sonnet 5.5 91884a9585 Project Configuration: normal map format, UV tiles, import settings
PROJECT SETTINGS sets the project's normal map format on OK and shows the
UV tiles read only. Import settings holds Preserve stroke positions on
mesh, passed as preserveStrokes to file.changeMesh / file.reimportMesh.
A failed OK no longer re-fires from a stored Enter.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:04:44 +01:00
vangel76andClaude Sonnet 5.5 a1847a2e24 Edit > Project Configuration: a window with the 3D mesh section
Select... picks another mesh file (ticks Reimport mesh), OK runs
file.changeMesh, or file.reimportMesh when only Reimport mesh is ticked.
The Display panel keeps its own rail icon and View entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:51:26 +01:00
vangel76andClaude Sonnet 5.5 5828177d8c Remove the temporary Edit > Change mesh... menu item
The file.changeMesh command stays (trusted local command API and the
control channel); the Project Configuration window will offer it in a
later PR. The command is no longer listed under the Edit menu.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 16:48:37 +01:00
Dylan M. Taylor 0d90953467 Share portable materials and preserve SBS links 2026-11-15 11:44:04 +00:00
chasse20 5e4f511f17 Added CODE_STYLE (not referenced by AGENTS) as helper for maintaining better code quality 2026-11-14 21:18:26 -05:00
vangel76andClaude Sonnet 5.5 aac6799b88 Merge upstream/main into fix/205-change-mesh
The translation tables moved to craft-i18n upstream; their files are gone here, so the two new strings fall back to English until the catalog has them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 23:36:00 +01:00
Chris Hassebrook a03f14ea88 Updating CI with local profile for faster runs (#453)
* Run CI on stable Rust and check layering earlier

* Add a faster profile for optimized verification
2026-11-12 22:21:42 +01:00
vangel76 c4de143612 Merge remote-tracking branch 'upstream/main' into HEAD 2026-11-12 20:58:42 +01:00
Morion 42c1e51b98 Migrate TextureCraft UI translations to shared craft-i18n 2026-11-11 09:39:33 -05:00
Rebornim e020080bde Shelf icons and the material picker's name
Path gets a pen nib, so it no longer looks like Polygon fill's polygon;
Projection takes the cube-focus icon and Geometry mask a crossed selection.
The color picker copies every channel of the material under the cursor, so it
is now called the material picker (its command id and key stay).
2026-11-11 07:27:36 +00:00
chasse20 1c5ff6e5c3 Restore configurable project resource limits 2026-11-11 00:30:36 -05:00
Rafael Mendes 10aaae2f51 Merge main: rename editor in the redesigned effect rows 2026-11-10 18:32:29 -03: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
Rafael Mendes 732f6bae28 Anchor points in masks, generator micro detail, effect rename
Anchor point effects can now sit in a mask, where they record the mask
value at their place for fills and generators above. Generators take an
anchor's height as micro detail (microAnchor, microAmount). Effects can
be renamed from the Layers panel, and the anchor picker lists anchors
under their own heading.

Closes #389
2026-11-10 17:52:26 -03:00
FredApps 26ddc8c256 Merge main and keep nested thumbnail controls accessible 2026-11-10 20:10:52 +01:00
chasse20 2d0b8e6a48 Fix thumbnail previews and cache retention 2026-11-10 06:37:12 -05: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
chasse20 65a00a31f9 Updated helpful PR guide to be more defense against memory leakages 2026-11-10 03:44:52 -05:00
chasse20 832a7f9e89 Fix live bake preview review findings 2026-11-10 01:34:02 -05:00
MistyMystery 0a954d2e03 Merge upstream main into pbr-folder-import 2026-11-10 01:03:23 +04:00
MistyMystery 424ab64ce8 Merge upstream main into layers-panel-redesign 2026-11-09 23:54:51 +04:00