Fix missing topology cache in during node tree updates
Under some circumstances the `value_task` run by node tree updates needs access to a node group topology cache. Unlike the `usage_task` it was not ensuring the cache for the node group, so a stale cache could be used (triggers assert). Pull Request: https://projects.blender.org/blender/blender/pulls/136878
This commit is contained in:
@@ -600,6 +600,7 @@ struct SocketUsageInferencer {
|
||||
all_socket_values_.add_new(socket, nullptr);
|
||||
return;
|
||||
}
|
||||
group->ensure_topology_cache();
|
||||
if (group->has_available_link_cycle()) {
|
||||
all_socket_values_.add_new(socket, nullptr);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user