Blender Git Commit Log

Git Commits -> Revision b007279

Revision b007279 by Jacques Lucke (master)
April 1, 2021, 12:39 (GMT)
Nodes: separate node name and display name in bNodeTreePath

Previously, `node_name` was rarely actually a name of a node. It is set
correctly as node name in `ED_node_tree_push`. However, later on it
was overwritten by the name of an id data block in `node_draw_space`.

Now, the node_name stays the name of the "parent" node. Whereas
display_name is the name that will be displayed in the breadcrumbs.

With this change, the `node_name` can be used to reconstruct the
actual path from the root node tree to the currently visible tree.

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

Commit Details:

Full Hash: b00727950c28c31563426ea3c8c745b2c67e042d
Parent Commit: 1bdceb8
Lines Changed: +25, -10

4 Modified Paths:

/source/blender/blenloader/intern/versioning_290.c (+13, -0) (Diff)
/source/blender/editors/space_node/node_draw.cc (+2, -2) (Diff)
/source/blender/editors/space_node/space_node.c (+9, -8) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021