Remove duplicate call
authorRobin Gareus <robin@gareus.org>
Wed, 31 Oct 2018 22:25:50 +0000 (23:25 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 31 Oct 2018 22:44:04 +0000 (23:44 +0100)
Automatable::add_control() already does insert a given parameter
to the _can_automate_list list if it's automatable.

libs/ardour/plugin_insert.cc

index 205262ab4c56e0edac9af322c2295b148b8484ba..2537f8d2324787ffc9e4fbd011de3b92b5af3e76 100644 (file)
@@ -450,9 +450,6 @@ PluginInsert::create_automatable_parameters ()
 
                const bool automatable = a.find(param) != a.end();
 
-               if (automatable) {
-                       can_automate (param);
-               }
                boost::shared_ptr<AutomationList> list(new AutomationList(param, desc));
                boost::shared_ptr<AutomationControl> c (new PluginControl(this, param, desc, list));
                if (!automatable) {