diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-30 20:01:53 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-30 20:01:53 +0200 |
commit | 1cbc91788ff4936ffc7a0a16482381be7339d6c6 (patch) | |
tree | 980329f07dddfb1cc567a916ff46795962157999 /libs/ardour | |
parent | 1682368052f1b7b4fcc0e2465ea485628c339b21 (diff) |
Don't invert azimuth & elevation display value
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/parameter_descriptor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/parameter_descriptor.cc b/libs/ardour/parameter_descriptor.cc index 740997e725..1a79191e56 100644 --- a/libs/ardour/parameter_descriptor.cc +++ b/libs/ardour/parameter_descriptor.cc @@ -301,7 +301,7 @@ ParameterDescriptor::to_interface (float val) const break; case PanAzimuthAutomation: case PanElevationAutomation: - val = 1.f - val; + val = val; break; case PanWidthAutomation: val = .5f + val * .5f; @@ -352,7 +352,7 @@ ParameterDescriptor::from_interface (float val) const break; case PanAzimuthAutomation: case PanElevationAutomation: - val = 1.f - val; + val = val; break; case PanWidthAutomation: val = 2.f * val - 1.f; |