minor code enhancements
This commit is contained in:
@@ -596,6 +596,8 @@ void Track::BlockDisconnected(Node* node, int element)
|
||||
return;
|
||||
}
|
||||
|
||||
emit BlockRemoved(b);
|
||||
|
||||
TimeRange invalidate_range(b->in(), track_length());
|
||||
|
||||
// Get cache index
|
||||
@@ -605,8 +607,6 @@ void Track::BlockDisconnected(Node* node, int element)
|
||||
blocks_.removeAt(cache_index);
|
||||
block_array_indexes_.removeAt(cache_index);
|
||||
|
||||
emit BlockRemoved(b);
|
||||
|
||||
// Update previous/nexts
|
||||
Block* previous = b->previous();
|
||||
Block* next = b->next();
|
||||
|
||||
Reference in New Issue
Block a user