Blender Git Loki
Git Commits -> Revision fdc4a1a
Revision fdc4a1a by Hans Goudey (master) December 22, 2021, 14:47 (GMT) |
Nodes: Refactor to remove node and socket "new" pointers These pointers point to the new nodes when duplicating, and their even used to point to "original" nodes for "localized" trees. They're just a bad design decision that make code confusing and buggy. Instead, node copy functions now optionally add to a map of old to new socket pointers. The case where the compositor abused these pointers as "original" pointers are handled by looking up the string node names. Differential Revision: https://developer.blender.org/D13518 |
Commit Details:
Full Hash: fdc4a1a590d8befb1ff9ab1de3f02d82aa46d539
Parent Commit: d6224db
Lines Changed: +189, -284
8 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+18, -23) (Diff)
/source/blender/blenkernel/intern/node.cc (+84, -167) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+0, -1) (Diff)
/source/blender/editors/space_node/node_edit.cc (+64, -51) (Diff)
/source/blender/editors/space_node/node_group.cc (+12, -17) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -2) (Diff)
/source/blender/nodes/composite/node_composite_tree.cc (+8, -22) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.cc (+84, -167) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+0, -1) (Diff)
/source/blender/editors/space_node/node_edit.cc (+64, -51) (Diff)
/source/blender/editors/space_node/node_group.cc (+12, -17) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -2) (Diff)
/source/blender/nodes/composite/node_composite_tree.cc (+8, -22) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)