Commit Graph
189 Commits
Author SHA1 Message Date
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 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 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
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 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
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
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
vangel76andClaude Opus 5.5 f10255f496 Merge upstream/main into fix/205-change-mesh
Move the bake_job_mesh UI test into the shared tests/it executable that
main introduced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:18:59 +01:00
FredAppsandFredApps 117bfd5c1d ci: reduce integration test executables and skip unused tool install (#355)
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-08 11:34:56 +01:00
Chris Hassebrook c46e9b3f3c Merge pull request #308 from Rebornim/feat/filter-picker
Filter picker: swap a filter's type from its Properties slot
2026-11-08 02:07:24 -05:00
Chris Hassebrook b966d13da2 Fix filter picker visibility and swap error context 2026-11-08 01:42:22 -05:00
chasse20 97d4bbc38a Updated the PR review helper to be even more helpful 2026-11-07 23:46:15 -05:00
Rebornim 284cb7d125 Refuse host paths in files entries for automation
textureSet.meshMap.import takes its paths in files[].path, which
authorize_command did not look at, so a control client could import an
image from outside --read-root. Treat a path or dir in any files entry
like a top-level one, and document that automation imports baked maps
through resource_import plus textureSet.meshMap.set.
2026-11-08 01:25:35 +00:00
vangel76andClaude Sonnet 5.5 60ca949dfb Merge upstream/main into fix/205-change-mesh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:01:25 +01:00
Rebornim cfe837b86c Import baked maps when creating a project
New project > Advanced settings gets the project's normal map format and
Import baked maps: Add lists image files, and Create imports them with the
new textureSet.meshMap.import command, which sets each file as the mesh map
of the texture set and slot its name names (Body_ambient_occlusion.png,
Body_normal.1001.png) in one undo step and reports the files it left out.
2026-11-07 09:14:40 +00:00
FredApps 5da1f689fc docs: route release version bumps through pull requests 2026-11-06 12:41:09 +01:00
Chris Hassebrook 297fad6fe7 Helpful PR review guidelines doc for reviewers 2026-11-06 01:50:36 -05:00
chasse20 747068dbdf Fix bake settings and UV tile controls 2026-11-05 22:39:42 -05:00
Chris Hassebrook 10c1fba699 Merge pull request #260 from Aalzard/camera-bookmarks
Camera bookmarks: Ctrl+1…9 and a smooth glide
2026-11-05 16:38:43 -05:00
MistyMystery d60fb856c9 Live bake preview: the 3D view shows each mesh map as it finishes
A bake started in the app bakes the set's maps one after another (BakeTask::run_streaming, one bake per map, same pixels as a single bake) and streams each finished map from the worker thread. One map is installed per UI poll into the session's bake preview (not the document); the 3D view follows the newest map raw on the model, with maps and sets not baked yet shown neutral, and the bake bar names the stage. The bake bar picks Follow Newest Map, a finished map or Material. The previous view mode comes back when the bake ends, is cancelled or Bake mode is left; painting is paused while a bake is shown. bake.preview, ui.bake.start and ui.bake.cancel expose it on the control channel. New strings are translated in every shipped language.
2026-11-05 13:20:38 +04:00
RebornimandClaude Opus 5.5 d5aaea9331 Bake mode: mesh map bakers list and per-map settings
Lay bake mode out as texture sets over a Mesh Map Bakers list, then
Common Settings | Mesh Map Settings tabs, with the log under both
columns. A row's checkbox enables a map for baking; clicking the row
selects it, and Mesh Map Settings shows only the selected map behind a
texture set / map breadcrumb with dropdowns. Selecting never changes
what bakes.

Saved bake docks from before this layout, or that cannot be read, load
as the bake layout instead of the painting default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 05:24:31 +00:00