Call `ntree->ensure_topology_cache();` to ensure the topology cache is
up to date, before iterating over each node's input sockets.
This is a follow-up of 3016cf650d.
Pull Request: https://projects.blender.org/blender/blender/pulls/145232
Call `ntree->ensure_topology_cache();` to ensure the topology cache is
up to date, before iterating over each node's input sockets.
This is a follow-up of 3016cf650d.
Pull Request: https://projects.blender.org/blender/blender/pulls/145232