From 5393982c8022d4117a6fe29340f8ecf2d115648d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Nov 2014 16:48:15 -0500 Subject: [PATCH] Don't add spurious points when copy/pasting automation. --- gtk2_ardour/editor_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 9c3b40798a..5e0716d0dd 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -3959,7 +3959,7 @@ Editor::cut_copy_points (CutCopyOp op) for (PointSelection::iterator i = selection->points.begin(); i != selection->points.end(); ++i) { boost::shared_ptr al = (*i)->line().the_list(); AutomationList::const_iterator j = (*i)->model (); - lists[al].copy->add ((*j)->when, (*j)->value); + lists[al].copy->fast_simple_add ((*j)->when, (*j)->value); } for (Lists::iterator i = lists.begin(); i != lists.end(); ++i) {