Fix: Ensure topology cache exists when drawing nodes
This was missed in 58c650a44c
.
This commit is contained in:
parent
8d1e5334ec
commit
21e235afc3
|
@ -3023,6 +3023,7 @@ static void draw_nodetree(const bContext &C,
|
|||
bNodeInstanceKey parent_key)
|
||||
{
|
||||
SpaceNode *snode = CTX_wm_space_node(&C);
|
||||
ntree.ensure_topology_cache();
|
||||
|
||||
Span<bNode *> nodes = ntree.all_nodes();
|
||||
|
||||
|
|
Loading…
Reference in New Issue