diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-23 19:29:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-23 19:29:30 +0000 |
commit | 360b4aed1789e9fdd416351bfa5bbec5b8ef37ae (patch) | |
tree | deaef4871fa3111279873f1004623b76a78889e6 | |
parent | 013b31f1bb17dd54c41aafc879984d9d2b17633d (diff) |
Remove heinous hack that is no longer required if we are
not attempting to track setting modified status.
git-svn-id: svn://localhost/ardour2/branches/3.0@10800 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/vst_plugin.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index ae5e4897f8..26212ba03d 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -99,15 +99,7 @@ void VSTPlugin::set_parameter (uint32_t which, float val) { _plugin->setParameter (_plugin, which, val); - - if (_state->want_program == -1 && _state->want_chunk == 0) { - /* Heinous hack: Plugin::set_parameter below updates the `modified' status of the - current preset, but if _state->want_program is not -1 then there is a preset - setup pending or in progress, which we don't want any `modified' updates - to happen for. So we only do this if _state->want_program is -1. - */ - Plugin::set_parameter (which, val); - } + Plugin::set_parameter (which, val); } uint32_t |