From 8bd52c80dce29774a0f97382caad3a8453b5a4c6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Dec 2020 14:21:50 -0700 Subject: [PATCH] fix paste API issue for automation list/tracks --- gtk2_ardour/automation_time_axis.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 8bed5a8fec..a37008e447 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -872,8 +872,7 @@ AutomationTimeAxisView::paste_one (timepos_t const & pos, unsigned paste_count, Temporal::timepos_t model_pos = dm (_line->distance_measure().origin().distance (tpos), line()->the_list()->time_domain()); XMLNode &before = alist->get_state(); -#warning NUTEMPO FIX THIS ... WHY DOES the paste call get a type error from the compiler - //alist->paste (**p, model_pos, _session->tempo_map()); + alist->paste (**p, model_pos); _session->add_command (new MementoCommand(*alist.get(), &before, &alist->get_state())); return true;