diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-09-29 10:00:23 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-02 18:04:40 -0600 |
commit | f470d3e856e7dee3c6003aeff0c98005822c5f90 (patch) | |
tree | 20b9f2d212195a2a7f04442e4365d6715e05e385 /libs/ardour/mac_vst_plugin.cc | |
parent | bc3b65834991b126843e85618c2f5d1d3c7e9389 (diff) |
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.
Diffstat (limited to 'libs/ardour/mac_vst_plugin.cc')
-rw-r--r-- | libs/ardour/mac_vst_plugin.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/mac_vst_plugin.cc b/libs/ardour/mac_vst_plugin.cc index c62b76af5a..9057f324b1 100644 --- a/libs/ardour/mac_vst_plugin.cc +++ b/libs/ardour/mac_vst_plugin.cc @@ -113,7 +113,7 @@ std::vector<Plugin::PresetRecord> MacVSTPluginInfo::get_presets (bool user_only) const { std::vector<Plugin::PresetRecord> p; -#ifndef NO_PLUGIN_STATE + if (!Config->get_use_macvst ()) { return p; } @@ -169,8 +169,6 @@ MacVSTPluginInfo::get_presets (bool user_only) const } } delete t; -#endif - return p; } |