mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Remove self-assign
This commit is contained in:
parent
7ef4a08b5e
commit
d91374d0db
1 changed files with 2 additions and 2 deletions
|
|
@ -340,13 +340,13 @@ ParameterDescriptor::to_interface (float val, bool rotary) const
|
||||||
break;
|
break;
|
||||||
case PanAzimuthAutomation:
|
case PanAzimuthAutomation:
|
||||||
if (rotary) {
|
if (rotary) {
|
||||||
val = val;
|
; // val = val;
|
||||||
} else {
|
} else {
|
||||||
val = 1.0 - val;
|
val = 1.0 - val;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PanElevationAutomation:
|
case PanElevationAutomation:
|
||||||
val = val;
|
; // val = val;
|
||||||
break;
|
break;
|
||||||
case PanWidthAutomation:
|
case PanWidthAutomation:
|
||||||
val = .5f + val * .5f;
|
val = .5f + val * .5f;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue