mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
move default_triggers_per_box into a namespace ; change value for Ardour to 16 (GUI edition)
This commit is contained in:
parent
3c0820e36e
commit
0c2176dd71
14 changed files with 23 additions and 23 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue