track: return no active elements if block is disabled
This commit is contained in:
@@ -121,7 +121,11 @@ Node::ActiveElements Track::GetActiveElementsAtTime(const QString &input, const
|
||||
}
|
||||
}
|
||||
|
||||
return a;
|
||||
if (a.elements().empty()) {
|
||||
return ActiveElements::kNoElements;
|
||||
} else {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return super::GetActiveElementsAtTime(input, r);
|
||||
|
||||
Reference in New Issue
Block a user