timeline/block: reimplemented enabling/disabling blocks

This commit is contained in:
itsmattkc
2020-04-17 02:16:04 +10:00
parent 78c3c10e5f
commit 832cc986b7
12 changed files with 115 additions and 6 deletions
+5 -1
View File
@@ -198,7 +198,11 @@ Block *TrackOutput::BlockAtTime(const rational &time) const
if (block
&& block->in() <= time
&& block->out() > time) {
return block;
if (block->is_enabled()) {
return block;
} else {
break;
}
}
}