don't necessarily clear queue if caching

This commit is contained in:
itsmattkc
2021-10-06 13:06:54 -07:00
parent 2acf261ebf
commit 2143e32881
+3 -1
View File
@@ -597,7 +597,9 @@ void ViewerWidget::UpdateTextureFromNode()
nonqueue_watchers_.append(watcher);
// Clear queue because we want this frame more than any others
ClearVideoAutoCacherQueue();
if (!GetConnectedNode()->GetVideoAutoCacheEnabled()) {
ClearVideoAutoCacherQueue();
}
watcher->SetTicket(GetFrame(time, true));
}