mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
triggerbox: minor changes after change in how timeline cues are implemented
This commit is contained in:
parent
a187b5e1fb
commit
a1c627aa24
2 changed files with 7 additions and 2 deletions
|
|
@ -443,7 +443,7 @@ CueBoxUI::register_actions ()
|
||||||
void
|
void
|
||||||
CueBoxUI::trigger_scene (uint64_t n)
|
CueBoxUI::trigger_scene (uint64_t n)
|
||||||
{
|
{
|
||||||
TriggerBox::scene_bang (n);
|
_session->cue_bang (n);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
#include "pbd/search_path.h"
|
#include "pbd/search_path.h"
|
||||||
#include "pbd/unwind.h"
|
#include "pbd/unwind.h"
|
||||||
|
|
||||||
|
#include "ardour/audioengine.h"
|
||||||
#include "ardour/directory_names.h"
|
#include "ardour/directory_names.h"
|
||||||
#include "ardour/filesystem_paths.h"
|
#include "ardour/filesystem_paths.h"
|
||||||
#include "ardour/region.h"
|
#include "ardour/region.h"
|
||||||
|
|
@ -153,7 +154,11 @@ TriggerUI::register_actions ()
|
||||||
void
|
void
|
||||||
TriggerUI::trigger_scene (int32_t n)
|
TriggerUI::trigger_scene (int32_t n)
|
||||||
{
|
{
|
||||||
TriggerBox::scene_bang (n);
|
Session* s = AudioEngine::instance()->session();
|
||||||
|
|
||||||
|
if (s) {
|
||||||
|
s->cue_bang (n);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue