A few fixes to interpolation of MIDI controller data. Don't interpolate
[ardour.git] / libs / ardour / automatable.cc
index bed99d56603abc5b31b5ae3d4f106c853d89532a..40b6eb2a07a04715c489f3bfe83383887d74db37 100644 (file)
@@ -58,7 +58,7 @@ Automatable::Automatable (const Automatable& other)
 
         for (Controls::const_iterator i = other._controls.begin(); i != other._controls.end(); ++i) {
                 boost::shared_ptr<Evoral::Control> ac (control_factory (i->first));
-                _controls[ac->parameter()] = ac;
+               add_control (ac);
         }
 }
 int