Browse Source

[fix][PyQt5.6]: launch errors; add plugin errors

tags/1.9.7
no name 8 years ago
parent
commit
5059bbe637
4 changed files with 8 additions and 8 deletions
  1. +1
    -1
      source/carla_host.py
  2. +1
    -1
      source/carla_panels.py
  3. +1
    -1
      source/carla_skin.py
  4. +5
    -5
      source/carla_widgets.py

+ 1
- 1
source/carla_host.py View File

@@ -670,7 +670,7 @@ class HostWindow(QMainWindow):
# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------
# Engine (host callbacks) # Engine (host callbacks)


@pyqtSlot(str)
@pyqtSlot(int, int, str)
def slot_handleEngineStartedCallback(self, processMode, transportMode, driverName): def slot_handleEngineStartedCallback(self, processMode, transportMode, driverName):
self.ui.menu_PluginMacros.setEnabled(True) self.ui.menu_PluginMacros.setEnabled(True)
self.ui.menu_Canvas.setEnabled(True) self.ui.menu_Canvas.setEnabled(True)


+ 1
- 1
source/carla_panels.py View File

@@ -222,7 +222,7 @@ class CarlaPanelTime(QDialog):
# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------
# Engine callbacks # Engine callbacks


@pyqtSlot(str)
@pyqtSlot(int, int, str)
def slot_handleEngineStartedCallback(self, processMode, transportMode, driverName): def slot_handleEngineStartedCallback(self, processMode, transportMode, driverName):
self.fSampleRate = self.host.get_sample_rate() self.fSampleRate = self.host.get_sample_rate()
self.refreshTransport(True) self.refreshTransport(True)


+ 1
- 1
source/carla_skin.py View File

@@ -1217,7 +1217,7 @@ class AbstractPluginSlot(QFrame, PluginEditParentMeta):


#------------------------------------------------------------------ #------------------------------------------------------------------


@pyqtSlot(int)
@pyqtSlot(float)
def slot_parameterValueChanged(self, value): def slot_parameterValueChanged(self, value):
index = self.sender().getIndex() index = self.sender().getIndex()




+ 5
- 5
source/carla_widgets.py View File

@@ -1273,35 +1273,35 @@ class PluginEdit(QDialog):


#------------------------------------------------------------------ #------------------------------------------------------------------


@pyqtSlot(int)
@pyqtSlot(float)
def slot_dryWetChanged(self, value): def slot_dryWetChanged(self, value):
self.host.set_drywet(self.fPluginId, value) self.host.set_drywet(self.fPluginId, value)


if self.fParent is not None: if self.fParent is not None:
self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_DRYWET, value) self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_DRYWET, value)


@pyqtSlot(int)
@pyqtSlot(float)
def slot_volumeChanged(self, value): def slot_volumeChanged(self, value):
self.host.set_volume(self.fPluginId, value) self.host.set_volume(self.fPluginId, value)


if self.fParent is not None: if self.fParent is not None:
self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_VOLUME, value) self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_VOLUME, value)


@pyqtSlot(int)
@pyqtSlot(float)
def slot_balanceLeftChanged(self, value): def slot_balanceLeftChanged(self, value):
self.host.set_balance_left(self.fPluginId, value) self.host.set_balance_left(self.fPluginId, value)


if self.fParent is not None: if self.fParent is not None:
self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_BALANCE_LEFT, value) self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_BALANCE_LEFT, value)


@pyqtSlot(int)
@pyqtSlot(float)
def slot_balanceRightChanged(self, value): def slot_balanceRightChanged(self, value):
self.host.set_balance_right(self.fPluginId, value) self.host.set_balance_right(self.fPluginId, value)


if self.fParent is not None: if self.fParent is not None:
self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_BALANCE_RIGHT, value) self.fParent.editDialogParameterValueChanged(self.fPluginId, PARAMETER_BALANCE_RIGHT, value)


@pyqtSlot(int)
@pyqtSlot(float)
def slot_panChanged(self, value): def slot_panChanged(self, value):
self.host.set_panning(self.fPluginId, value) self.host.set_panning(self.fPluginId, value)




Loading…
Cancel
Save