From 78914f871114f62db246789e775415257b44f546 Mon Sep 17 00:00:00 2001 From: dikadk Date: Sun, 27 Oct 2024 13:23:39 -0400 Subject: [PATCH] Updated getClipsLinkInGroup to include clips from Launcher::ClipSlots --- modules/tracktion_engine/model/edit/tracktion_Edit.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/tracktion_engine/model/edit/tracktion_Edit.cpp b/modules/tracktion_engine/model/edit/tracktion_Edit.cpp index b2ac90c8ddf..3cc9b4d7e25 100644 --- a/modules/tracktion_engine/model/edit/tracktion_Edit.cpp +++ b/modules/tracktion_engine/model/edit/tracktion_Edit.cpp @@ -445,6 +445,13 @@ struct Edit::TreeWatcher : public juce::ValueTree::Listener return true; }); + edit.clipSlotCache.visitItems ([&] (auto cs) { + if (auto c = cs->getClip()) + if (c->getLinkGroupID().isNotEmpty()) + linkedClipsMap[c->getLinkGroupID()].add(c); + }); + + linkedClipsMapDirty = false; }