Fix overwrite sometimes not working on clips with multiple streams

parent 66602063
Pipeline #32576 passed with stage
in 38 minutes and 32 seconds
......@@ -384,7 +384,7 @@ bool TimelineFunctions::breakAffectedGroups(const std::shared_ptr<TimelineItemMo
std::unordered_set<int> all_children = timeline->m_groups->getLeaves(groupId);
for (int child: all_children) {
int childTrackId = timeline->getItemTrackId(child);
if (!tracks.contains(childTrackId)) {
if (!tracks.contains(childTrackId) && timeline->m_groups->isInGroup(child)) {
// This item should not be affected by the operation, ungroup it
result = result && timeline->requestClipUngroup(child, undo, redo);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment