timeline: invalidate when undoing a place command

Fixes #1715
This commit is contained in:
itsmattkc
2021-08-09 12:52:25 -07:00
parent d3cd01c66a
commit e511fde899
@@ -426,9 +426,7 @@ void TrackPlaceBlockCommand::undo()
}
t->EndOperation();
if (ripple_remove_command_) {
t->Node::InvalidateCache(insert_range, Track::kBlockInput);
}
t->Node::InvalidateCache(insert_range, Track::kBlockInput);
// Remove tracks if we added them
for (int i=add_track_commands_.size()-1; i>=0; i--) {