Browse Source

Do not restrict ranges when mapped to CV

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 4 years ago
parent
commit
9bdcee2283
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      source/frontend/carla_widgets.py

+ 6
- 2
source/frontend/carla_widgets.py View File

@@ -454,7 +454,9 @@ class PluginParameter(QWidget):
self.tr("Custom Minimum"),
"Custom minimum value to use:",
self.fMappedMinimum,
self.fMinimum, self.fMaximum, self.fDecimalPoints)
self.fMinimum if self.fMappedCtrl != CONTROL_VALUE_CV else -9e6,
self.fMaximum if self.fMappedCtrl != CONTROL_VALUE_CV else 9e6,
self.fDecimalPoints)
if not ok:
return

@@ -467,7 +469,9 @@ class PluginParameter(QWidget):
self.tr("Custom Maximum"),
"Custom maximum value to use:",
self.fMappedMaximum,
self.fMinimum, self.fMaximum, self.fDecimalPoints)
self.fMinimum if self.fMappedCtrl != CONTROL_VALUE_CV else -9e6,
self.fMaximum if self.fMappedCtrl != CONTROL_VALUE_CV else 9e6,
self.fDecimalPoints)
if not ok:
return



Loading…
Cancel
Save