From 40354488c7d1ba1d476b9ee3636bb623ab674d8a Mon Sep 17 00:00:00 2001 From: qvest-ssels <214787280+qvest-ssels@users.noreply.github.com> Date: Mon, 30 Nov 2026 09:07:01 +0100 Subject: [PATCH] Drop a needless clone of the Copy opacity dynamic --- crates/paint/src/dynamics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/paint/src/dynamics.rs b/crates/paint/src/dynamics.rs index 4a93860f460..3ec7523e3a2 100644 --- a/crates/paint/src/dynamics.rs +++ b/crates/paint/src/dynamics.rs @@ -740,7 +740,7 @@ impl DabBuilder { // (#17766); the Opacity Jitter still applies. With the control Off the preset is // read as before. opacity = if b.pressure_opacity && tr.opacity.control != Control::Off { - scalar(&Dynamic { control: Control::Off, minimum: 0.0, ..tr.opacity.clone() }, s, r(stream::OPACITY)) + scalar(&Dynamic { control: Control::Off, minimum: 0.0, ..tr.opacity }, s, r(stream::OPACITY)) } else { scalar(&tr.opacity, s, r(stream::OPACITY)) };