Commit Graph
527 Commits
Author SHA1 Message Date
Dylan M. Taylor d7e534a657 Recognize explicit coverage compiler flags 2026-11-15 10:24:24 +00:00
Dylan M. Taylor e897991533 test: allow instrumented high-DPI preview to settle 2026-11-15 09:59:44 +00:00
Dylan M. Taylor 75502053db formats: stop copying whole OBJ and glTF inputs before parsing (#503)
* formats: stop copying whole OBJ and glTF inputs before parsing

* formats: format the mesh-import copy changes
2026-11-15 04:18:22 -05:00
chasse20 6825aac7e4 Auto: Integrate main and reduce compositor buffer lifetimes
Preserve filter lookahead alongside main image-cache invalidation and input
bounds. Move HeldFields into its own module and finish scoped cleanup.
Charge repeated USD path names before allocating retained strings.
Reuse the blur transpose-back buffer and release scattered texels before
allocating filter temporaries.

Validated compose/engine release tests, Clippy, layering, wasm and formatting.
2026-11-15 07:14:57 +00:00
chasse20 7bfcf3fc27 Auto: Integrate main and reuse decoded material maps
Preserve main's decoder, atomic-save, material-payload, and USDC limits.
Bound material reads by the remaining payload budget and trim retained
buffers. Replace quadratic image-name searches with map lookups, and
cache validated linked-material maps before synchronization so they
are not decoded twice.

Add import/undo/redo and payload-boundary regressions, extract
ImageIdentity, remove the unchecked scratch example, and complete
scoped cleanup. Correct the integrated style guide's product name.

Validated 546 release tests, Clippy, layering, wasm, formatting, and
focused allocation and lifetime probes.
2026-11-15 04:16:43 +00:00
Dylan M. Taylor 9ed81da8cb formats: account for the USDC path table's real allocation (#507)
The PATHS table charged 64 bytes per entry but allocates Option<PathEl> (about 80), letting a small declared count exceed the decoded-byte budget, and had no entry ceiling. Charge the real element size and cap the table at four million paths.
2026-11-14 17:28:04 -05:00
Dylan M. Taylor 0fa3a392fd formats: create atomic-write temps exclusively so a planted symlink is never followed (#502) 2026-11-14 17:23:06 -05:00
Dylan M. Taylor 73083d418a formats: cap default resource image decode at 64 M texels (#506)
Imported images still used the 16384-pixel edge limit with no texel ceiling, so a small 16k square PNG expanded to multi-gigabyte RGBA f32 buffers. Default resource decoding now refuses more than 8192 square texels from the header, and the engine import path uses the same budget.
2026-11-14 17:02:27 -05:00
Dylan M. Taylor b89badcd6f Budget the total payload of one .mcmat (#499)
* formats: budget the total payload of one .mcmat

* formats: format the .mcmat map-limit test
2026-11-14 15:42:13 -05:00
Morion 74d213272d Release kept filter fields when a stroke begins during a sliced pass (#475)
Fields kept for the coming composites stayed allocated for as long as a
stroke lasted while tiles still followed, because the end-of-pass cleanup only
runs when none do. A stroke already kept them from being used; now it also
drops them. The test keeps fields first, then starts the stroke.
2026-11-13 14:20:27 -05:00
Morion 1a742d3fa4 Frame-sliced recomposites filter a run of tiles once (#475)
A stack with a neighbourhood filter (blur, high pass, bevel, glow...) made a
recomposite spread over frames many times slower than the same recomposite in
one call: every chunk filtered its own surroundings again, and on a machine
with many threads the filter's per-texel parallel steps cost more to hand out
than to run on a region of a few tiles.

- Neighbourhood filters split their per-texel work into tasks of at least
  16384 texels. Each texel is computed on its own, so results do not change.
- Session::update_for tells the compositor which dirty tiles follow the chunk
  in its block (up to 64). The compositor filters the chunk and those tiles at
  once and keeps the fields for the composites that follow, compared by
  everything the stack reads, and drops them at the end of the pass, after an
  edit, and under a live stroke.

Results are identical to the one-call composite: tests cover cold, warm and
partly evicted hot-layer caches, an edit mid-pass and a live stroke.
perf::bench_sliced_filters_4k times both paths.
2026-11-13 12:38:58 -05:00
Morion d5675e090b Keep cached layer composites across unrelated image imports 2026-11-13 09:38:39 -05:00
Morion a616e5ed06 experiment: scope invalidation of newly added material resources 2026-11-13 08:53:59 -05:00
Prajwal Raj 386630ee85 Stop reading Alembic indexed metadata after 255 entries (#464)
* fix(formats): stop reading Alembic indexed metadata after 255 entries (#447)

Objects and properties refer to indexed metadata with one byte, and 0xff already means the metadata is stored inline, so only entries 0 to 254 can ever be used. The reader kept every entry, so a block of zero bytes cost a whole String in memory for each byte of file. It now stops once 255 entries are held.

* test(formats): verify indexed metadata during archive import (#447)
2026-11-13 12:58:42 +01:00
FredAppsandFredApps afc1ee169b Preserve invalid ASCII FBX array values (#469)
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-13 12:52:34 +01:00
8e83ac66f1 Cap FBX cameras during import (#450)
Fixes #445

Co-authored-by: GPT-6-Luna <noreply@openai.com>
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-13 12:09:02 +01:00
FredAppsandFredApps fe6ede90be Ignore repeated FBX geometry connections (#468)
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-13 11:59:42 +01:00
FredAppsandFredApps 9f4ef44bd8 Decode half-float Alembic properties (#467)
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-13 11:41:00 +01:00
Morion TutorialesandFredApps 277bbf3cf1 Import glTF scenes that have no nodes array (#438) (#457)
* Import glTF scenes that have no nodes array (#438)

The gltf crate requires scene.nodes, but the glTF 2.0 schema lists no
required properties for a scene. Blender writes such scenes for scenes with
no exported objects, so a file whose default scene was fine failed with
'missing field nodes'. Treat a missing array as empty before the document is
built.

* Test GLB import with an empty scene

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-13 11:20:01 +01:00
FredAppsandFredApps 73c9f8f705 Bound FBX instance control-point work (#466)
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-13 11:13:08 +01:00
Morion Tutoriales b982d66008 fix(compose): retain curvature cache layout variants (#459) 2026-11-13 08:28:43 +01:00
FredApps 026a24f439 Merge pull request #220 from vangel76/fix/179-2d-brush-cursor
2D view: draw the brush outline under the pointer while painting
2026-11-13 02:29:18 +01:00
FredApps aa99a798a7 test(formats): split malformed scene fixtures for parallel CI (#455) 2026-11-13 00:15:49 +01:00
test-bit-sys 6270aeca05 fix(engine): reset paint target to content when undoing mask (#307) (#398)
* fix(engine): reset paint target to content when undoing mask (#307)

* fix(engine): resolve mask_owner in after_history and clear below cache in test (#307)
2026-11-12 17:56:41 +01:00
test-bit-sys a969983a52 fix(engine): resolve resource stem and list available names in layer.add.image (#337) (#391)
* fix(engine): resolve resource stem and list available names in layer.add.image (#337)

Accept an unambiguous file stem in layer.add.image alongside the full resource name with extension. When the requested resource is not found, list the available resources or guide the user to resource.import.

* fix(engine): filter image lookup stems and hints to decoded images (#337)
2026-11-12 17:56:34 +01:00
test-bit-sys e03e6fae6a fix(engine): reject unparseable colour parameters with an error (#369) (#390)
* fix(engine): reject unparseable colour parameters with an error (#369)

When a colour parameter cannot be parsed, fail with an error describing the expected color format instead of silently falling back to defaults.

Update color_param to return an explicit error and propagate across commands that accept color values.

* fix(engine): validate f32 overflow, pre-parse state mutations, and keep UV pairs strict (#369)
2026-11-12 17:56:19 +01:00
Chris Hassebrook 42c8ea5b3c Merge pull request #427 from MorionTutoriales/feat/shared-i18n-419
Migrate TextureCraft UI translations to shared craft-i18n
2026-11-11 22:22:41 -05:00
BFlat b1806e4010 Merge pull request #231 from vangel76/fix/217-generator-offset
Add an offset slider to mesh-map generators
2026-11-12 08:52:04 +07:00
Dylan M. Taylor 55015a7631 Fix Flatpak updates and bump to 0.6.1 (#426)
* fix(flatpak): allow release checks and self-update helpers

* test: keep Flatpak permission parsing within strict Clippy rules

* chore: bump version to 0.6.1 for the Flatpak update fix

* fix(flatpak): honor the launcher version choices
2026-11-11 18:38:56 -05:00
vangel76andClaude Sonnet 5.5 f1737d7384 Merge upstream/main into fix/179-2d-brush-cursor
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 21:50:46 +01:00
Morion 8818f8eef1 Validate embedded translation catalogs during the build 2026-11-11 14:40:46 -05:00
Morion 1ad56c9084 Document optional catalog embedding and cached language lookup 2026-11-11 13:36:13 -05:00
Morion 42c1e51b98 Migrate TextureCraft UI translations to shared craft-i18n 2026-11-11 09:39:33 -05:00
test-bit-sys 21856d7783 fix(formats): preserve existing OBJ UVs when only some objects lack UVs (#286) (#394)
Previously, if any object in an OBJ mesh lacked texture coordinates, all UVs across all objects were discarded and replaced with a full automatic unwrap.

Skip empty models without indices, preserve existing UVs on textured objects while assigning default UVs to untextured helper/sub-objects, and report a warning without forcing a full mesh unwrap.
2026-11-11 08:57:31 +01:00
Chris Hassebrook e52393a869 Merge pull request #380 from SteamSmith/fix/render-grain-stutter
Rendering mode: no flash when the camera moves, steadier frames, less grain
2026-11-11 00:53:49 -05:00
chasse20 63043aa99e Fix GPU test setup and rendering cache lifetimes 2026-11-11 00:34:26 -05:00
chasse20 1c5ff6e5c3 Restore configurable project resource limits 2026-11-11 00:30:36 -05:00
chasse20 ebe18a1846 Merge main into project resource limits 2026-11-11 00:22:29 -05:00
chasse20 78425a2c2a Fix rendering regressions and merge main 2026-11-10 23:48:49 -05:00
chasse20 3295cec476 Merge main and preserve path cursor behavior 2026-11-10 22:47:15 -05:00
Chris Hassebrook 8316acf0ba Merge pull request #347 from Rebornim/feat/symmetry-parity
Symmetry: movable plane, settings popup and viewport display
2026-11-10 22:32:16 -05:00
chasse20 76b9a30f63 Guard stored paths and fix History redo jumps 2026-11-10 22:23:51 -05:00
chasse20 6a976004ee Merge main and retain path and rail tests 2026-11-10 22:23:43 -05:00
chasse20 565ae84dea Preserve combined mirror and radial symmetry 2026-11-10 22:11:57 -05:00
chasse20 906b22630f Fix History jumps through pending path edits 2026-11-10 21:59:49 -05:00
chasse20 885dbd1f0a Fix native-only items in wasm builds 2026-11-10 21:45:32 -05:00
chasse20 4612e1aa87 Handle texture deltas in path cache test 2026-11-10 21:32:02 -05:00
chasse20 f7be672c92 Extend rays for displaced fill copies 2026-11-10 21:12:29 -05:00
chasse20 f17e524776 Fix path undo repaint and restore Apply 2026-11-10 21:07:57 -05:00
chasse20 9c359bacfc Fix Escape handling for hidden rail popups 2026-11-10 20:59:11 -05:00