Changeset View
Changeset View
Standalone View
Standalone View
src/timeline2/model/timelinefunctions.cpp
Context not available. | |||||
160 | } | 160 | } | ||
---|---|---|---|---|---|
161 | } | 161 | } | ||
162 | if (count > 0 && timeline->m_groups->isInGroup(clipId)) { | 162 | if (count > 0 && timeline->m_groups->isInGroup(clipId)) { | ||
163 | // we now split the group hiearchy. | 163 | // we now split the group hierarchy. | ||
164 | // As a splitting criterion, we compare start point with split position | 164 | // As a splitting criterion, we compare start point with split position | ||
165 | auto criterion = [timeline, position](int cid) { return timeline->getClipPosition(cid) < position; }; | 165 | auto criterion = [timeline, position](int cid) { return timeline->getClipPosition(cid) < position; }; | ||
166 | bool res = true; | 166 | bool res = true; | ||
Context not available. | |||||
410 | } | 410 | } | ||
411 | mapping[id] = newId; | 411 | mapping[id] = newId; | ||
412 | } | 412 | } | ||
413 | qDebug() << "Sucessful copy, coping groups..."; | 413 | qDebug() << "Successful copy, coping groups..."; | ||
414 | res = timeline->m_groups->copyGroups(mapping, undo, redo); | 414 | res = timeline->m_groups->copyGroups(mapping, undo, redo); | ||
415 | if (!res) { | 415 | if (!res) { | ||
416 | bool undone = undo(); | 416 | bool undone = undo(); | ||
Context not available. |