render: only use cache in offline mode

This commit is contained in:
itsmattkc
2022-09-23 12:31:17 -07:00
parent b19730b1f5
commit 825b06f7a7
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ NodeValue NodeTraverser::GenerateRowValueElement(const Node *node, const QString
NodeValue value = table->TakeAt(value_index);
if (value.type() == NodeValue::kTexture) {
if (value.type() == NodeValue::kTexture && UseCache()) {
QMutexLocker locker(node->video_frame_cache()->mutex());
node->video_frame_cache()->LoadState();