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.
Preserve the saved image-menu, project-switch cache, and test repairs before integrating main. Remove the disabled-mask anchor UI test at the maintainer request.
Use the documented RAM fallback for zero readings. Preserve dotted folder names, recognize split normal aliases, honor later map names, and clear import dialogs after project replacement. Count same-map drop candidates and clean test fixtures on unwind.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
* 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)
* 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)
* 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)