fix: keep particle timeline playback ticking
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
This commit is contained in:
@@ -46,6 +46,11 @@ RasterArrayTimelineFrame RasterArrayTimelineRuntime::frame() const {
|
||||
return frameLocked();
|
||||
}
|
||||
|
||||
float RasterArrayTimelineRuntime::playbackSpeed() const {
|
||||
std::lock_guard<std::mutex> lock(mutex);
|
||||
return speed;
|
||||
}
|
||||
|
||||
bool RasterArrayTimelineRuntime::moveToLocked(const size_t nextT0) {
|
||||
if (nextT0 + 1 >= entries.size()) return false;
|
||||
t0 = nextT0;
|
||||
|
||||
Reference in New Issue
Block a user