Commit Graph
632 Commits
Author SHA1 Message Date
FredApps a5590884f0 OBJ: treat groups as objects, as tobj did
craft-mesh main (b952ca02) adds ReadOptions::groups_as_objects for
tobj-compatible reads: each g starts a new object, repeated group names
are kept and smoothing changes don't split runs. Setting it keeps
TextureCraft's previous part naming and fixes the E0063 build error.
2026-11-16 10:49:55 +01:00
FredApps 1e3ebf9e5e Merge main into codex/shared-obj-consumer 2026-11-16 10:38:51 +01:00
FredApps 8dabdd37ea Merge main into codex/shared-obj-consumer
craft-mesh stays at 284b0d81 (#1731 head, now an ancestor of craft-libs main;
same ply/stl sources as main's d6ed8c20) with main's PLY feature added; tobj
stays removed.
2026-11-16 09:44:52 +01:00
FredApps 3ec5734fe0 Merge main into codex/shared-fbx-consumer
Repin craft-mesh from integration commit d0abb877 (not on craft-libs main)
to 4f9c7189, the craft-libs main commit with the identical tree
(2ffca004), keeping main's PLY feature and pins.
2026-11-16 09:44:19 +01:00
FredApps 5f9939687b Merge pull request #534 from storytold/refactor/shared-usd-integer-write
Use bounded shared USD integer delta encoding
2026-11-16 09:34:17 +01:00
FredApps 2ae9dc1572 Merge pull request #530 from storytold/refactor/shared-ply-rows
Use shared PLY body decoding while retaining strict import policy
2026-11-16 08:54:10 +01:00
FredApps 87d617b728 Merge main into refactor/shared-usd-integer-write 2026-11-16 08:39:13 +01:00
FredApps 7cb641f742 Keep rejecting propertyless PLY vertex elements
A vertex element without x, y, z must still fail with "vertices have no x, y, z"
instead of being skipped as a propertyless element. Adds a regression test.
2026-11-16 08:15:14 +01:00
FredApps 18b3343716 Merge main into refactor/shared-usd-lz4-write 2026-11-16 07:59:30 +01:00
FredApps af78121279 Merge main into refactor/shared-usd-integers 2026-11-16 07:26:28 +01:00
FredApps fcc957b4ea Accept trailing propertyless PLY elements as before
The shared ASCII row reader counts the delimiter after the last value as read,
so a trailing element without properties (e.g. `element edge 1` after the last
vertex row) was rejected by the per-element byte bound. Propertyless elements
read nothing: skip their rows and bound their count by the bytes the previous
reader saw. Adds a regression test.
2026-11-16 07:25:59 +01:00
FredApps 09a6738d43 Merge pull request #531 from storytold/refactor/shared-usd-lz4
Use shared bounded USD Crate LZ4 decoding
2026-11-16 07:25:37 +01:00
Chris Hassebrook 99b16c7c3e Merge pull request #413 from Rebornim/feat/bake-mode-pass
Bake mode pass 1: Baking Visualization, neutral material, settings and pre-bake checks
2026-11-16 01:07:38 -05:00
FredApps 55a3dee2ed Merge main into refactor/shared-usd-lz4 2026-11-16 06:47:58 +01:00
FredApps ebb4bc8673 Merge main into refactor/shared-ply-rows 2026-11-16 06:47:44 +01:00
FredApps 51281f4e64 Merge pull request #529 from storytold/refactor/shared-icc-v2
Use shared ICC v2 serialization for exported colour profiles
2026-11-16 06:41:33 +01:00
chasse20 44079ecab5 Auto: Integrate main while preserving bake visualization
Merge main at cce9ada while retaining the saved bake repairs and layout. Resolve docking, module, and viewport overlaps with the new Assets shelf and tool-availability behavior.
2026-11-16 00:32:06 +00:00
chasse20 a0905d8b4a Auto: Preserve bake repairs and finish pending main merge
Finish integration of main at 7550205 with all saved bake review repairs and cleanup intact.
2026-11-16 00:19:03 +00:00
chasse20 96f108c4b0 Auto: Integrate main tool availability with Assets shelf 2026-11-15 23:37:11 +00:00
chasse20 000361d4e1 Auto: Reject stale saved-brush preview results 2026-11-15 23:27:06 +00:00
chasse20 b34130c6d8 Auto: Preserve 2D stroke endpoints after forced completion
Update the Shift-click line origin when an unavailable tool forces a 2D stroke to finish successfully. Clear pending endpoints after completion or cancellation to prevent reuse by later gestures.

Add a regression test for Shift-click following forced stroke completion.
2026-11-15 22:27:16 +00:00
Dylan M. Taylor 1683a2c63c Pin shared ICC writer to merged prerequisite 2026-11-15 17:03:57 -05:00
chasse20 7ad3f70701 Auto: Preserve path history and clean up unavailable tools
Reject pending path undo/redo during quick-mask editing without consuming history. Finish active strokes and polygon-fill boxes when tools become unavailable in either viewport. Hide unavailable tool properties for Paint and Path effects.

Add regression tests for history preservation, gesture cleanup, and effect tool controls.
2026-11-15 21:21:52 +00:00
chasse20 a1d6bc238d Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/thumbs.rs
2026-11-15 21:15:13 +00:00
chasse20 df2c0b81db Auto: Reconcile Assets shelf with main and repair presets
Keep main's shared translation integration while merging the Assets layout.
Guard preset overwrites, restore legacy tab selection, filter unavailable
images, and render saved image alphas. Deduplicate folder paths before
allocating and render only visible saved-search rows.

Validated with release UI tests, clippy, wasm, layers, panic_hunt, and
offscreen window snapshots.
2026-11-15 21:09:57 +00:00
chasse20 8042df8687 Merge commit 'ad3aa8c9b8cc2d9572358b9ecc91c9b4cd8bae30' into HEAD
# Conflicts:
#	crates/ui-egui/src/i18n/ar.rs
#	crates/ui-egui/src/i18n/de.rs
#	crates/ui-egui/src/i18n/es.rs
#	crates/ui-egui/src/i18n/fr.rs
#	crates/ui-egui/src/i18n/it.rs
#	crates/ui-egui/src/i18n/ja.rs
#	crates/ui-egui/src/i18n/ko.rs
#	crates/ui-egui/src/i18n/pt_br.rs
#	crates/ui-egui/src/i18n/zh_hans.rs
2026-11-15 21:09:36 +00: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
Dylan M. Taylorandbflatastic 8a1baa35ac Use bounded shared USD integer delta encoding
Preserve packed wire values and propagate bounded scratch/output allocation failures through USD export.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 15:35:21 -05:00
Chris Hassebrook 507992ac48 Merge pull request #408 from Rebornim/feat/generators-pass
Generators: global adjustments, output resolution, image inputs and the generator panel
2026-11-15 15:34:32 -05:00
Dylan M. Taylor 8baac1d5d2 Merge pull request #519 from storytold/codex/tcraft-payload-cutover
Use shared streaming project tile payloads
2026-11-15 15:20:56 -05:00
Dylan M. Taylorandbflatastic 939b12bfd0 Use fallible shared USD Crate LZ4 writing
Propagate compression errors through USD writer values, sections and finish. Bound worst-case output reservation by the existing 2GiB app ceiling; preserve normal wire bytes and scene policy.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 15:18:23 -05:00
Dylan M. Taylorandbflatastic 8003210b64 Use shared bounded USD integer delta decoding
Keep the existing aggregate decoded byte budget, integer writer and scene mapping. Depends on craft-libs #1742 and TextureCraft #531.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 15:10:14 -05:00
Dylan M. Taylorandbflatastic 646fa2e454 Use shared USD Crate LZ4 decompression
Preserve TextureCraft scene/material policy, integer packing and writing; replace only bounded LZ4 framing reads. Depends on craft-libs #1738.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 14:50:57 -05:00
chasse20 ce96c243a1 Auto: Integrate mesh replacement from latest main 2026-11-15 19:44:18 +00:00
chasse20 23ef7b15ab Auto: Integrate latest main with reviewed generator changes 2026-11-15 19:38:34 +00:00
7f40386c97 Reuse shared PLY body decoding without changing strict import policy
Keep the app header grammar, geometry and colour interpretation while replacing the local scalar and endian reader with craft-mesh Rows.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
Co-authored-by: NetterSilver <133535268+Silvertree2010@users.noreply.github.com>
2026-11-15 14:38:33 -05: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
ecf313f325 Use shared ICC v2 profile serialization for texture exports
Retain SteamSmith original writer as a test-only wire oracle, including bflatastic is_multiple_of cleanup. Colour adaptation, sampling, names and fixed timestamp remain local policy.

Co-authored-by: SteamSmith <341182916+SteamSmith@users.noreply.github.com>

Co-authored-by: bflatastic <bflat@storyteller.ai>
2026-11-15 14:29:05 -05:00
chasse20 442edf310a Auto: Integrate main and preserve generator review repairs 2026-11-15 19:26:39 +00:00
Dylan M. Taylor e664e65d94 Use shared OBJ reader 2026-11-15 19:16:46 +00:00
Dylan M. Taylor b81a54228f Preserve FBX placement and polygon order 2026-11-15 19:10:16 +00:00
Dylan M. Taylor da1e2df96d Keep root FBX model names 2026-11-15 19:02:01 +00:00
Dylan M. Taylor 12168ad475 Bound FBX root traversal allocation 2026-11-15 19:01:25 +00:00
Dylan M. Taylor 59a7c022a1 Bound FBX hierarchy traversal memory 2026-11-15 19:01:11 +00:00
Dylan M. Taylor e6c149cbd6 Simplify shared FBX camera selection 2026-11-15 18:56:07 +00:00
Dylan M. Taylor b6115309aa Preserve FBX object connection handling 2026-11-15 18:51:13 +00:00
Dylan M. Taylor 48885c910f Ignore unused cyclic FBX models 2026-11-15 18:49:20 +00:00
Dylan M. Taylor f22c9d31a5 Preserve FBX parent connection precedence 2026-11-15 18:44:07 +00:00
Dylan M. Taylor cf85d478a2 Keep FBX cameras in file order 2026-11-15 18:42:20 +00:00