fixed node removals

This commit is contained in:
itsmattkc
2021-01-22 19:23:20 +11:00
parent b114bf98c9
commit d9019f9cb1
8 changed files with 138 additions and 70 deletions
+2 -2
View File
@@ -435,7 +435,7 @@ void TimelineWidget::ReplaceBlocksWithGaps(const QVector<Block *> &blocks,
new TrackReplaceBlockWithGapCommand(original_track, b, command);
if (remove_from_graph) {
Node::RemoveNodesAndExclusiveDependencies(b, command);
new NodeRemoveWithExclusiveDependenciesAndDisconnect(b, command);
}
}
}
@@ -471,7 +471,7 @@ void TimelineWidget::DeleteSelected(bool ripple)
foreach (TransitionBlock* transition, transitions_to_delete) {
new TransitionRemoveCommand(transition, command);
Node::RemoveNodesAndExclusiveDependencies(transition, command);
new NodeRemoveWithExclusiveDependenciesAndDisconnect(transition, command);
}
// Replace clips with gaps (effectively deleting them)