From befa339d4b4ee0e288c5f5437e0017eefd0ca2fb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 31 Oct 2018 23:25:50 +0100 Subject: [PATCH] Remove duplicate call Automatable::add_control() already does insert a given parameter to the _can_automate_list list if it's automatable. --- libs/ardour/plugin_insert.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 205262ab4c..2537f8d232 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -450,9 +450,6 @@ PluginInsert::create_automatable_parameters () const bool automatable = a.find(param) != a.end(); - if (automatable) { - can_automate (param); - } boost::shared_ptr list(new AutomationList(param, desc)); boost::shared_ptr c (new PluginControl(this, param, desc, list)); if (!automatable) {