timeline: check for locked tracks on split at playhead
This commit is contained in:
@@ -383,6 +383,10 @@ void TimelineWidget::SplitAtPlayhead()
|
||||
|
||||
// Get all blocks at the playhead
|
||||
foreach (Track* track, sequence()->GetTracks()) {
|
||||
if (track->IsLocked()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Block* b = track->BlockContainingTime(playhead_time);
|
||||
|
||||
if (dynamic_cast<ClipBlock*>(b)) {
|
||||
|
||||
Reference in New Issue
Block a user