Drop a needless clone of the Copy opacity dynamic

This commit is contained in:
qvest-ssels committed 2026-11-30 09:07:01 +01:00
1 parent 304330205f
commit 40354488c7
1 file changed
+1 -1
+1 -1
View File
@@ -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))
};