Blender Git Commit Log

Git Commits -> Revision 51a7961

Revision 51a7961 by Hans Goudey (master)
November 19, 2021, 20:36 (GMT)
Cleanup: Simplify node editor link dragging storage

Now that `node_intern.hh` is a C++ header, we can use C++ types
there. This patch replaces the linked list of dragged links with a
vector. Also, the list of drag operator custom data, `nldrag`, doesn't
seem to need to be a list at all, so I just made it a unique pointer.

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

Commit Details:

Full Hash: 51a7961e0984468e8ee6e5f9313e3884ba46d69d
Parent Commit: c3fed4d
Lines Changed: +44, -71

4 Modified Paths:

/source/blender/editors/space_node/node_draw.cc (+6, -6) (Diff)
/source/blender/editors/space_node/node_intern.hh (+3, -8) (Diff)
/source/blender/editors/space_node/node_relationships.cc (+30, -52) (Diff)
/source/blender/editors/space_node/space_node.cc (+5, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021