viewer: fix incorrect if statement bug

This commit is contained in:
itsmattkc
2022-09-27 17:01:40 -07:00
parent 01c3c6050d
commit c0d8d24c47
+1 -1
View File
@@ -378,7 +378,7 @@ void PreviewAutoCacher::InsertIntoCopyMap(Node *node, Node *copy)
Node::CopyInputs(node, copy, false);
// Connect to node's cache
if (ignore_cache_requests_) {
if (!ignore_cache_requests_) {
ConnectToNodeCache(node);
}
}