mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Drop a needless clone of the Copy opacity dynamic
This commit is contained in:
1 parent
304330205f
commit
40354488c7
1 file changed
+1
-1
@@ -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))
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user