Browse Source

Do not show old plugin entries before full rescan

tags/v2.1-rc1
falkTX 6 years ago
parent
commit
59302eec5b
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      source/frontend/carla_database.py

+ 2
- 3
source/frontend/carla_database.py View File

@@ -133,7 +133,7 @@ def findFilenames(filePath, stype):
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# Plugin Query # Plugin Query


PLUGIN_QUERY_API_VERSION = 10
PLUGIN_QUERY_API_VERSION = 11


PyPluginInfo = { PyPluginInfo = {
'API': PLUGIN_QUERY_API_VERSION, 'API': PLUGIN_QUERY_API_VERSION,
@@ -1698,9 +1698,8 @@ class PluginDatabaseW(QDialog):
# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------


def _addPluginToTable(self, plugin, ptype): def _addPluginToTable(self, plugin, ptype):
if plugin['API'] != PLUGIN_QUERY_API_VERSION and ptype == self.tr("Internal"):
if plugin['API'] != PLUGIN_QUERY_API_VERSION:
return return

if ptype in (self.tr("Internal"), "LV2", "SF2", "SFZ"): if ptype in (self.tr("Internal"), "LV2", "SF2", "SFZ"):
plugin['build'] = BINARY_NATIVE plugin['build'] = BINARY_NATIVE




Loading…
Cancel
Save