timeline: make sure track length is updated if a block is disconnected
This commit is contained in:
@@ -556,9 +556,7 @@ void TrackOutput::BlockDisconnected(NodeEdgePtr edge)
|
||||
block_cache_.removeAt(index_of_block);
|
||||
|
||||
// If there were blocks following this one, update their ins/outs
|
||||
if (index_of_block < block_cache_.size()) {
|
||||
UpdateInOutFrom(index_of_block);
|
||||
}
|
||||
UpdateInOutFrom(index_of_block);
|
||||
|
||||
// Join the previous and next blocks together
|
||||
if (connected_block->previous()) {
|
||||
|
||||
Reference in New Issue
Block a user