13
0

fix paste API issue for automation list/tracks

This commit is contained in:
Paul Davis 2020-12-28 14:21:50 -07:00
parent b03cfa2420
commit 8bd52c80dc

View File

@ -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<AutomationList>(*alist.get(), &before, &alist->get_state()));
return true;