moved more cache functions out of viewer

This commit is contained in:
itsmattkc
2022-05-16 20:33:59 -07:00
parent e73f01b527
commit 7084d0feb6
11 changed files with 114 additions and 144 deletions
+1 -1
View File
@@ -685,7 +685,7 @@ void ViewerWidget::UpdateTextureFromNode()
nonqueue_watchers_.append(watcher);
// Clear queue because we want this frame more than any others
if (!GetConnectedNode()->GetVideoAutoCacheEnabled() && !auto_cacher_.IsRenderingCustomRange()) {
if (!GetConnectedNode()->video_frame_cache()->IsEnabled() && !auto_cacher_.IsRenderingCustomRange()) {
ClearVideoAutoCacherQueue();
}