Blender Git Loki
Git Commits -> Revision d286994
Revision d286994 by Jacques Lucke (master) March 6, 2021, 15:51 (GMT) |
Nodes: refactor derived node tree This is a complete rewrite of the derived node tree data structure. It is a much thinner abstraction about `NodeTreeRef` than before. This gives the user of the derived node tree more control and allows for greater introspection capabilities (e.g. before muted nodes were completely abstracted away; this was convenient, but came with limitations). Another nice benefit of the new structure is that it is much cheaper to build, because it does not inline all nodes and sockets in nested node groups. Differential Revision: https://developer.blender.org/D10620 |
Commit Details:
Full Hash: d2869943d2c02f1535270f0e206a67aab78c8ebb
Parent Commit: cfd766c
Lines Changed: +703, -1169
11 Modified Paths:
/source/blender/modifiers/intern/MOD_nodes.cc (+137, -124) (Diff)
/source/blender/nodes/function/nodes/node_fn_group_instance_id.cc (+4, -3) (Diff)
/source/blender/nodes/function/nodes/node_fn_random_float.cc (+6, -5) (Diff)
/source/blender/nodes/intern/derived_node_tree.cc (+186, -448) (Diff)
/source/blender/nodes/intern/node_geometry_exec.cc (+7, -8) (Diff)
/source/blender/nodes/intern/node_tree_multi_function.cc (+118, -145) (Diff)
/source/blender/nodes/NOD_derived_node_tree.hh (+187, -371) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+3, -3) (Diff)
/source/blender/nodes/NOD_node_tree_multi_function.hh (+49, -58) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.cc (+5, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_value.cc (+1, -1) (Diff)
/source/blender/nodes/function/nodes/node_fn_group_instance_id.cc (+4, -3) (Diff)
/source/blender/nodes/function/nodes/node_fn_random_float.cc (+6, -5) (Diff)
/source/blender/nodes/intern/derived_node_tree.cc (+186, -448) (Diff)
/source/blender/nodes/intern/node_geometry_exec.cc (+7, -8) (Diff)
/source/blender/nodes/intern/node_tree_multi_function.cc (+118, -145) (Diff)
/source/blender/nodes/NOD_derived_node_tree.hh (+187, -371) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+3, -3) (Diff)
/source/blender/nodes/NOD_node_tree_multi_function.hh (+49, -58) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.cc (+5, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_value.cc (+1, -1) (Diff)