Blender Git Commit Log

Git Commits -> Revision 85d9668

Revision 85d9668 by Hans Goudey (temp-gpu-image-engine)
December 15, 2021, 13:37 (GMT)
Cleanup: Remove runtime uiBlock pointer from nodes

Code is simpler when the uiBlocks used during drawing are simply
stored in an array. Additionally, looping can be simpler when we use
an vector to hold a temporary copy of the tree's linked list of nodes.

This patch also slightly changes how uiBlocks are "named" in
`node_uiblocks_init`. Now it uses the node name instead of the
pointer, which is helpful so we rely less on the node's address.

Differential Revision: https://developer.blender.org/D13540

Commit Details:

Full Hash: 85d966808fc9521ee69a7469f642fd74ea595e4d
Parent Commit: da9e506
Committed By: Jeroen Bakker
Lines Changed: +129, -121

3 Modified Paths:

/source/blender/editors/space_node/node_draw.cc (+129, -118) (Diff)
/source/blender/editors/space_node/node_intern.hh (+0, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+0, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021