feat: repeat arrangement phrases with bounded atomic pattern copies
This commit is contained in:
parent
b60501f317
commit
ea9789b188
10 changed files with 70 additions and 4 deletions
|
|
@ -190,6 +190,7 @@ void xtc_backend_collect(xtc_backend *backend)
|
|||
}
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if(!std::getenv("XTC_TEST_MODERN_EDITING_ONLY")) {
|
||||
reset();
|
||||
{
|
||||
MainWindow window(false,"");
|
||||
|
|
@ -1307,6 +1308,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
unlink(path.c_str());
|
||||
}
|
||||
}
|
||||
reset();
|
||||
{
|
||||
MainWindow window(false,"");window.show();CHECK(window.create_track(true)==XTC_OK);
|
||||
|
|
@ -1323,6 +1325,7 @@ int main(int argc, char **argv)
|
|||
s->select_all_clips();CHECK(s->copy_selection()==XTC_OK);s->position(7680);
|
||||
CHECK(s->paste_selection()==XTC_OK && s->selected_clips().size()==2);
|
||||
xtc_project_get_counts(s->project(),&tc,&cc);CHECK(cc==4);
|
||||
CHECK(s->repeat_selection(2)==XTC_OK);xtc_project_get_counts(s->project(),&tc,&cc);CHECK(cc==8);
|
||||
window.do_callback();
|
||||
}
|
||||
if (failures != 0) return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue