Commit Graph
12885 Commits
Author SHA1 Message Date
bflatastic 18dfdba5ed Merge remote-tracking branch 'origin/main' into res-2985
# Conflicts:
#	crates/raster3d/src/lib.rs
#	crates/raster3d/src/raster.rs
2026-11-30 10:51:00 +07:00
BFlat 6a4729d5af Merge pull request #4298 from dotCooCoo/feat/mesh-ops-split-tangent-seams
craft-mesh-ops: compute_tangents_split splits vertices at mirrored UV seams
2026-11-30 10:48:51 +07:00
Dylan M. Taylor 716a24ce40 svg(paths): preserve source group ancestry during import (#4374)
* svg(paths): preserve source group ancestry during import

* svg(paths): support namespaced group metadata attributes
2026-11-29 22:38:29 -05:00
dotCooCoo ca902a4ad2 Merge main into feat/craft-raster3d-parallel 2026-11-29 19:28:58 -08:00
BFlat 891f4060c4 Merge pull request #4365 from dotCooCoo/fix/raster3d-near-plane-depth
craft-raster3d: clip depth crossings that round far off the plane again in f64
2026-11-30 10:28:40 +07:00
FredApps d45308b704 Merge pull request #4384 from storytold/fix/figcraft-native-image-dimensions
Preserve native FigCraft image dimensions in header reads
2026-11-30 04:24:21 +01:00
BFlat 074e2a6ac0 Merge pull request #4356 from dotCooCoo/fix/raster3d-inverse-square-falloff
craft-raster3d: keep inverse-square falloff at or below 1
2026-11-30 10:24:06 +07:00
BFlat 08196cfe6b Merge pull request #4363 from dotCooCoo/fix/raster3d-fallback-work-count
craft-raster3d: charge the search under discarded pixels before its tests
2026-11-30 10:23:59 +07:00
BFlat 19805ced1e Merge pull request #2619 from dotCooCoo/fix/hayro-softmask-self-draw
hayro-interpret: a tiling pattern or Type 3 glyph set outside a form draws that form
2026-11-30 10:15:22 +07:00
BFlat e706a71a01 Merge pull request #4373 from dotCooCoo/feat/wheel-gesture-claims
ui: a canvas body can claim a wheel gesture and mark it modal
2026-11-30 10:15:16 +07:00
dotCooCoo 607aeb0b55 craft-mesh-ops: tangents read glTF UVs with v up again
compute_tangents and compute_tangents_split pass the UVs to MikkTSpace
and to the f64 fallback with v negated, as main did with 1 - v. glTF
UVs run v down the image, so without the flip the bitangent followed
increasing v and every unmirrored mesh got w = -1, which inverts the
green channel of glTF normal maps.

The tests expect w = +1 for unmirrored UVs again, preview_orb sets +1
again, and the primitive check counts mirrored tangents as before and
also checks that each bitangent points up the image. A new test checks
that a plain quad keeps w = +1 with both functions.
2026-11-29 19:14:57 -08:00
dotCooCoo 0737cf1ad1 Merge main into fix/raster3d-near-plane-depth 2026-11-29 19:06:08 -08:00
bflatastic c1fca57111 Merge remote-tracking branch 'origin/main' into res-4356
# Conflicts:
#	crates/raster3d/README.md
2026-11-30 09:59:59 +07:00
bflatastic f86e6d402b Merge remote-tracking branch 'origin/main' into res-4363
# Conflicts:
#	crates/raster3d/tests/it/main.rs
2026-11-30 09:59:59 +07:00
BFlat 6f72e45286 Merge pull request #4362 from dotCooCoo/fix/raster3d-opacity-below-one
craft-raster3d: a material with an opacity below 1 is transparent
2026-11-30 09:59:16 +07:00
BFlat 548ba59ecc Merge pull request #4372 from dotCooCoo/fix/raster3d-shadow-casters
craft-raster3d: shadow casters clipped at the near plane take one f64 fraction when a position difference overflows
2026-11-30 09:59:09 +07:00
BFlat 5f1ef7f524 Merge pull request #4353 from dotCooCoo/fix/raster3d-resolve-large-blocks
craft-raster3d: average resolve blocks of more than 256 subsamples in f64
2026-11-30 09:59:03 +07:00
BFlat 2307a20979 Merge pull request #3992 from dotCooCoo/fix/image-codecs-xmp-scan-count
image-codecs: the XMP decoy check reads the result instead of the time
2026-11-30 09:58:56 +07:00
BFlat ccbad84ba9 Merge pull request #4380 from dotCooCoo/feat/thumb-size-points
ui-widgets list rows: ThumbSize::Custom, a row height in whole points from 12 to 100
2026-11-30 09:58:49 +07:00
BFlat 6609acd253 Merge pull request #4277 from dotCooCoo/fix/fixture-paint-chunk-child-transform
ui-contract: test fixtures read a paint chunk's members through their own transform and clip
2026-11-30 09:58:43 +07:00
BFlat a22b5d7d81 Merge pull request #4366 from dotCooCoo/fix/color-picker-picked-swatch
color-ui: the Color Picker's OK names the swatch its color was picked from
2026-11-30 09:58:36 +07:00
BFlat 1ca1aee51e Merge pull request #4350 from dotCooCoo/fix/focus-leaves-closed-scope
ui-contract: a dialog the host removes gives up the keyboard in that pass
2026-11-30 09:58:29 +07:00
BFlat 5ed2179f88 Merge pull request #4354 from dotCooCoo/fix/overlay-newer-raise-on-top
overlay: a window raised after a carried raise comes in front of it
2026-11-30 09:58:22 +07:00
BFlat 9e01ebc239 Merge pull request #4359 from dotCooCoo/fix/memo-view-stack-gap
ui-contract: a memoized view's content keeps the flow start and gap of the Stack around it
2026-11-30 09:58:15 +07:00
BFlat c7748a86e9 Merge pull request #4381 from dotCooCoo/fix/platform-crash-test-sink
platform: the crash hook tests run in their own process
2026-11-30 09:58:08 +07:00
BFlat 0bd77c0f92 Merge pull request #4382 from dotCooCoo/fix/platform-unused-craft-theme
platform: craft-theme is an optional dependency of the appearance feature
2026-11-30 09:57:39 +07:00
BFlat 93072713a2 Merge pull request #4378 from dotCooCoo/fix/screen-objc2-core-graphics
platform: the macOS screen capture uses objc2-core-graphics in place of core-graphics2
2026-11-30 09:57:32 +07:00
BFlat cc830af9ea Merge pull request #4336 from dotCooCoo/fix/winit-alt-codes-pinch
ui-contract: an Alt code types its character once with winit 0dfcec0e
2026-11-30 09:57:26 +07:00
BFlat afd8ece65e Merge branch 'main' into feat/wheel-gesture-claims 2026-11-30 09:42:04 +07:00
BFlat 6d09e7e5a8 Merge branch 'main' into fix/raster3d-inverse-square-falloff 2026-11-30 09:41:53 +07:00
BFlat 3df48918fd Merge branch 'main' into fix/hayro-softmask-self-draw 2026-11-30 09:41:51 +07:00
bflatastic 6c9315adb9 ui-canvas: name the glide trial's swipe sample as a documented const 2026-11-30 09:41:42 +07:00
bflatastic 7dd943f93a vendor/hayro-interpret: record the rustfmt'd hashes of pattern.rs and self_draw_tests.rs 2026-11-30 09:38:33 +07:00
bflatastic 091ebbd78a raster3d: list the inverse-square radius change in the README 2026-11-30 09:36:29 +07:00
BFlat 9240b69c5e Merge branch 'main' into fix/platform-unused-craft-theme 2026-11-30 09:27:41 +07:00
BFlat c1b1ca120a Merge branch 'main' into fix/screen-objc2-core-graphics 2026-11-30 09:27:38 +07:00
BFlat 8dfb7780fa Merge branch 'main' into fix/winit-alt-codes-pinch 2026-11-30 09:27:35 +07:00
Codex d00725a7ad Preserve native FigCraft image dimensions in header reads 2026-11-30 03:27:34 +01:00
BFlat f6aeb6b154 Merge pull request #4344 from dotCooCoo/fix/design-lint-main-findings
design-lint: clear the layer/import and props/hand-setter findings on main
2026-11-30 09:27:18 +07:00
dotCooCoo 66923d268a ui: CanvasSpace::with_wheel keeps one argument, and a share's receiver can mark it modal
CanvasSpace::with_wheel takes only the share again, as before the claim
token; the canvas attaches the token through a crate-private method, so
a space built with with_wheel carries no token and cannot claim.

craft_ui::runtime::wheel::mark_modal also marks a gesture that `id`
received a share of in this pass, for example the horizontal share of a
diagonal gesture that a nested scroller owns. Claims stay with the
gesture's owner.
2026-11-29 17:54:27 -08:00
Dylan M. Taylor f9371995bc silhouette-studio: read text objects (characters, font, size, origin) (#3673)
* silhouette-studio: read text objects (characters, font, size, origin)

* Restore main fill colour reader during Studio merge
2026-11-29 20:54:20 -05:00
dotCooCoo 3215285d7b platform: craft-theme is an optional dependency of the appearance feature
Cargo warned that craft-theme is an unused dependency of craft-platform
(crates/platform/Cargo.toml:36) when the `appearance` feature is off. The
crate uses it in two places: the `From<appearance::Reading>` impl for
`craft_theme::SystemAppearance`, compiled only with `appearance`, and the
browser eyedropper in `screen`, which used `Srgba::from_hex` on the
EyeDropper's `sRGBHex` answer.

- craft-theme is optional, and `appearance` enables it.
- The eyedropper reads the `#rrggbb` answer with `eyedropper_color` in
  screen.rs, so `screen` does not need craft-theme. Any other text is
  still reported as an invalid color.
- README: the `SystemAppearance` conversion is listed under `appearance`
  instead of "always".

Cargo.lock does not change.
2026-11-29 17:45:38 -08:00
dotCooCoo 2297942b1d Merge main into fix/raster3d-near-plane-depth 2026-11-29 17:34:46 -08:00
dotCooCoo 1591334df2 Merge main into fix/color-picker-picked-swatch 2026-11-29 17:34:33 -08:00
dotCooCoo 0c02ae255c Merge main into fix/raster3d-fallback-work-count 2026-11-29 17:34:22 -08:00
dotCooCoo 8063b87352 Merge main into fix/raster3d-opacity-below-one 2026-11-29 17:29:30 -08:00
dotCooCoo d6cdb2001f Merge main into fix/memo-view-stack-gap 2026-11-29 17:29:16 -08:00
dotCooCoo 1600f80f6b Merge main into fix/raster3d-inverse-square-falloff 2026-11-29 17:29:02 -08:00
dotCooCoo 432c9eee84 Merge main into fix/overlay-newer-raise-on-top 2026-11-29 17:28:55 -08:00
dotCooCoo 3de017b999 ui: a wheel claim names its share, and a claimed swipe leaves no glide samples
CanvasSpace keeps a ClaimToken with its wheel share, and claim_wheel
passes it to craft_ui::runtime::wheel::claim, which refuses a token
other than that of the share it would claim. A CanvasSpace kept from
an earlier pass, or from a viewport that was closed and opened again
under the same id, can no longer claim a later share. Tokens never
repeat in the process.

TouchpadGlide::stop also clears the lift samples, so the next swipe
cannot glide on the motion of a claimed swipe whose device end the
canvas did not read.
2026-11-29 17:26:08 -08:00