From f470d3e856e7dee3c6003aeff0c98005822c5f90 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 29 Sep 2019 10:00:23 -0600 Subject: remove all use of NO_PLUGIN_STATE #ifdef We determined several years that we should never ever do this, and changed the basis for the free/demo copy because of that. --- libs/ardour/lxvst_plugin.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/lxvst_plugin.cc') diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index 78afc55c23..432bff37c2 100644 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -108,7 +108,7 @@ std::vector LXVSTPluginInfo::get_presets (bool user_only) const { std::vector p; -#ifndef NO_PLUGIN_STATE + if (!Config->get_use_lxvst()) { return p; } @@ -163,9 +163,8 @@ LXVSTPluginInfo::get_presets (bool user_only) const } } } - delete t; -#endif + delete t; return p; } -- cgit v1.2.3