334 Commits
Author SHA1 Message Date
davidmann4andautocraft-bot[bot] 711e2ebf2e Merge pull request #18219
Co-authored-by: autocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
2026-12-02 22:19:56 +00:00
davidmann4andautocraft-bot[bot] e20d0b7164 Merge pull request #19216
Co-authored-by: autocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
2026-12-02 22:19:56 +00:00
davidmann4andautocraft-bot[bot] 06ec1af7b5 Merge pull request #17844
Co-authored-by: autocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
2026-12-02 22:19:56 +00:00
davidmann4andautocraft-bot[bot] 556bf71c41 Merge pull request #19044
Co-authored-by: autocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
2026-12-02 22:19:56 +00:00
davidmann4andautocraft-bot[bot] e537b10069 Merge pull request #19066
Co-authored-by: autocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
2026-12-02 22:19:56 +00:00
qvest-ssels 1c511fb3c5 Pressure for Opacity also ignores the Minimum when the preset's control is Off
With Opacity Control Off, a Minimum of 100 % and Opacity Jitter, the minimum still pinned every
dab, so the jitter had no effect while Pressure for Opacity was on. The toggle now drops the
Minimum whatever the control is; the jitter test covers Off as well.
2026-12-02 19:51:36 +01:00
qvest-ssels 1d506e8621 Merge remote-tracking branch 'origin/main' into cr-18219
# Conflicts:
#	crates/paint/src/lib.rs
2026-12-02 19:44:27 +01:00
qvest-ssels 63abb08c0c Pencil 32-bit tip: only the measured sizes get the smaller radius (#17560)
The issue measured the 32-bit aliased round tip at sizes 1, 2, 3, 4, 9, 13,
21 and 50 and says unmeasured cases keep today's behaviour. Any other size now
keeps the 8 and 16-bit radius (size 6 paints its 6 px block again instead of
nothing). New test: unmeasured_sizes_keep_their_size_in_32_bit.
2026-12-02 17:04:10 +01:00
crastinator a7b4b63449 Background Eraser: Contiguous erases behind a partly matching line only as strongly as the line (#18063)
Contiguous now caps each pixel's erase strength by the strongest path to it
from the tip centre (a widest-path search over the pre-stroke match weights),
so the sampled colour behind a weak barrier keeps the barrier's alpha instead
of going to 0. The tip centre itself is no barrier. Find Edges keeps the plain
connected / not connected flood fill; Discontiguous is unchanged.
2026-12-02 17:24:49 +02:00
hnoerenberg aaa044d68e fix(paint): start Diagonal symmetry on the canvas diagonal
The Diagonal preset kept a fixed 45 degree line, so on a non-square canvas
the mirror axis cut across the picture at the wrong angle. Its axis is the
diagonal of the centred box, which follows the canvas aspect (45 degrees
only on a square canvas). The command now folds that canvas angle into the
preset's stored turn, so rotation, transform and canvas edits keep working.
2026-12-02 12:02:12 +01:00
Terra854 a20e4df416 Limit tiny pressure-sized History Brush restoration 2026-12-02 18:27:04 +08:00
Terra854 3c3c3f3745 Orient Pen Tilt brush angle across the lean 2026-12-02 17:40:48 +08:00
FredApps 9a6c662185 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/paint/src/dynamics.rs
2026-12-02 11:55:45 +07:00
David MannandClaude Opus 5.5 07dc59dd75 Merge origin/main into the batch branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 11:47:18 +01:00
David Mann 778444c15f Merge #18589 into the merge queue batch
Background Eraser: the lightest pen pressure erases nothing
2026-12-01 10:56:11 +01:00
yoriswind 3e5013cea5 Preserve near-black brush texture in Hard Mix 2026-11-30 23:40:32 -08:00
kubuntugamer 6028419c67 Background Eraser: the lightest pen pressure erases nothing
At pressure 0.01 a 41 px tip is 0.41 px wide, and the dab radius floor lifted
it to a half-pixel radius, so the stroke erased a 1 px line while the
reference leaves the layer untouched. A Background Eraser stroke whose every
point is narrower than half a pixel now paints nothing; pressure 0.05 and up
and mouse strokes are unchanged.

Fixes #18060
2026-11-30 22:11:38 -06:00
David MannandClaude Opus 5.5 4beeecd9cd Color Replacement: Tolerance on Pen Pressure scales each dab's tolerance (#17786)
With the brush popup's Tolerance control on Pen Pressure, each dab replaces only the
colours within Tolerance x the pen pressure at that dab. Off, the mouse and Stylus Wheel
keep the full Tolerance. Dabs now carry the input pressure they were placed at, and
`paint.colorReplacement` takes `toleranceControl` (off, penPressure, stylusWheel).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 04:54:13 +01:00
David Mann c198d7b96f Merge #17015 into the batch branch 2026-12-01 01:07:06 +01:00
David MannandClaude Opus 5.5 7994d07717 Color Replacement: handle the stroke result in the falloff tests (#12368)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:32:56 +01:00
David MannandClaude Opus 5.5 e146acf767 Color Replacement: check block 7 with a stroke past it (#12368, #11916)
At Tolerance 100 the table's block 7 is the stroke's end point, where the
reference's value depends on where its last dabs land (measured: 176,169,181
ending at 750, 195,178,69 ending at 740). A stroke on to x 790 leaves the
block's centre at 166,165,238 in the reference; compare against that within
6 levels instead of only checking it is partly replaced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:15:15 +01:00
David Mann b86b2a8bd6 Merge #12368 into the batch branch 2026-11-30 23:10:57 +01:00
yoriswind 8e04537163 Merge main into PhotoCraft #17391 2026-11-30 06:13:06 -08:00
David Mann 66a3a62f7a Merge #17382 into the merge queue batch
Make Texture Depth Fade grow into the pattern

# Conflicts:
#	crates/paint/src/lib.rs
2026-11-30 10:38:23 +01:00
qvest-ssels 40354488c7 Drop a needless clone of the Copy opacity dynamic 2026-11-30 09:07:01 +01:00
qvest-ssels 304330205f Pressure for Opacity also drops the preset's opacity Minimum, keeps its jitter 2026-11-30 08:52:33 +01:00
qvest-ssels c2b8313335 Pencil: Pressure for Size and Pressure for Opacity override the preset's controls
With either toggle on, pressure drives the size or opacity whatever the
preset's Size Control, Opacity Control and Minimum are, as in the
reference. Off, the preset keeps driving.

Fixes #17766.
2026-11-30 08:29:47 +01:00
yoriswind fdd2b7b61d Merge current main retaining Spacing and Brush Pose regressions 2026-11-29 01:54:53 -08:00
qvest-ssels 8f347b9d38 Pencil: the smaller hard tip of 32-bit RGB and Grayscale documents (#17560)
In 32-bit RGB and Grayscale documents the reference's aliased round tip has a
radius two and a half pixels smaller than the tip's: sizes 2 and 4 paint
nothing, 1 and 3 one pixel, and 9, 13, 21 and 50 discs 5, 9, 17 and 44 px
across, with a one-pixel spike at the top and bottom. The stroke renderer now
paints that tip for 32-bit RGB and Grayscale targets. 8 and 16 bit, soft
brushes, square tips and tips with an angle or roundness below 100 % are
unchanged.

brush_tests' 4 px grid check paints on an 8-bit surface now, since its usual
32-bit test surface gets the smaller tip.
2026-11-29 10:32:07 +01:00
yoriswind 7d62b1e8a9 Apply hosted formatting to unchecked spacing regression 2026-11-28 18:57:38 -08:00
yoriswind 5593926e2a Preserve unchecked brush spacing's legacy distance fallback 2026-11-28 18:05:49 -08:00
yoriswind 087a581704 Integrate main while preserving Pose pressure and brush modules 2026-11-28 17:47:14 -08:00
yoriswind 647efe9802 Integrate main while preserving elliptic spacing and Size Fade 2026-11-28 17:47:11 -08:00
David Mann 73e2dd453a Merge #17401 into the merge queue batch
Mirror oriented brush tips when flip jitter fires

# Conflicts:
#	crates/paint/src/lib.rs
2026-11-29 00:52:20 +01:00
David Mann a88427ccfc Merge #17337 into the merge queue batch
Keep roundness jitter within the measured tip range

# Conflicts:
#	crates/paint/src/lib.rs
2026-11-29 00:52:19 +01:00
yoriswind d9adaf310e Integrate main while preserving brush regression modules 2026-11-28 12:58:01 -08:00
yoriswind a9c5663271 Integrate main while preserving brush regression modules 2026-11-28 12:57:47 -08:00
yoriswind 190605c424 Integrate main while preserving brush regression modules 2026-11-28 12:57:33 -08:00
yoriswind ff0fbd1d34 Integrate main while preserving brush regression modules 2026-11-28 12:57:21 -08:00
yoriswind a10c07dda6 Integrate main while preserving Pose and Noise regressions 2026-11-28 12:49:56 -08:00
yoriswind d14ffef04c Integrate main while preserving both brush test modules 2026-11-28 11:47:49 -08:00
yoriswind 503d7d37e3 Integrate main while preserving both brush test modules 2026-11-28 11:47:40 -08:00
yoriswind 45fe1fc1d7 Integrate main while preserving both brush test modules 2026-11-28 11:46:24 -08:00
yoriswind 31c7700d32 Use the legacy projection path as the exact Flip Jitter control 2026-11-28 11:43:24 -08:00
yoriswind d6a2ba5ad3 Keep aliased brush tips on their previous coverage laws 2026-11-28 11:13:58 -08:00
yoriswind a725d9bb77 Integrate current main so required brush CI can run 2026-11-28 10:53:43 -08:00
yoriswind a6a08057bd Integrate current main so required brush CI can run 2026-11-28 10:53:42 -08:00
yoriswind acfb22a8a0 Integrate current main so required brush CI can run 2026-11-28 10:53:40 -08:00
yoriswind 17d17d1bc4 Integrate current main so required brush CI can run 2026-11-28 10:53:39 -08:00
yoriswind eb554b23a7 Integrate current main so required brush CI can run 2026-11-28 10:53:37 -08:00