move default_triggers_per_box into a namespace ; change value for Ardour to 16 (GUI edition)

This commit is contained in:
Paul Davis 2022-10-04 19:55:15 -06:00
parent 3c0820e36e
commit 0c2176dd71
14 changed files with 23 additions and 23 deletions

View file

@ -1163,7 +1163,7 @@ Editor::finish_bringing_in_material (boost::shared_ptr<Region> region,
if (mode == ImportAsTrigger) {
boost::shared_ptr<Region> copy (RegionFactory::create (region, true));
for (int s = 0; s < default_triggers_per_box; ++s) {
for (int s = 0; s < TriggerBox::default_triggers_per_box; ++s) {
if (!existing_track->triggerbox ()->trigger (s)->region ()) {
existing_track->triggerbox ()->set_from_selection (s, copy);
#if 1 /* assume drop from sidebar */