Files
aigc-home/docs/hel-892/batch180-exact-engine/differences/0.21.1__cache_update.diff.txt
T

12 lines
678 B
Plaintext

--- 0.21.1:cache_update
+++ 8010:cache_update
@@ -1,5 +1,7 @@
def cache_update(self, node_id, value):
if node_id in self.execution_cache_listeners:
- for to_node_id in self.execution_cache_listeners[node_id]:
+ for to_node_id, from_socket in self.execution_cache_listeners[node_id]:
if to_node_id in self.execution_cache:
- self.execution_cache[to_node_id][node_id] = value+ self.execution_cache[to_node_id][node_id] = value
+ if from_socket is not None and self.output_link_callback is not None:
+ self.output_link_callback(value.outputs[from_socket])