added convenience undo command for removing a node and its exclusive deps

This commit is contained in:
itsmattkc
2019-12-19 01:44:18 +11:00
parent 3fb7b40b61
commit 05e10962f9
5 changed files with 22 additions and 11 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ void TimelineWidget::RippleTool::MouseReleaseInternal(TimelineViewMouseEvent *ev
// Assumed the Block was a Gap and it was reduced to zero length, remove it here
new TrackRippleRemoveBlockCommand(parent()->GetTrackFromReference(ghost->Track()), b, command);
new NodeRemoveCommand(static_cast<NodeGraph*>(b->parent()), {b}, command);
new NodeRemoveWithExclusiveDeps(static_cast<NodeGraph*>(b->parent()), b, command);
}
}
}