diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-26 23:40:57 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-26 23:40:57 +0300 |
commit | 7d3d09b69c0af677bd363cc009f37fdd1e4a7185 (patch) | |
tree | 4aba7d488037399f3ac9756da1a2aa23b58d38f2 /source/blender/blenkernel/intern/node.cc | |
parent | b37caa3f06440c3dd36c749950e50becfbddf2e8 (diff) |
Geometry Nodes: Get and set nodes for ID attribute
These nodes allow accessing and changing the stable/random ID used
for motion blur with instances and stable randomness.
Since rB40c3b8836b7a, the stable ID is a built-in attribute, so to be
consistent and allow changing it in the node tree like other built-in
attributes, it has get and set nodes.
Diffstat (limited to 'source/blender/blenkernel/intern/node.cc')
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index 8494c51a66e..d6c4e1f21e4 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -5804,6 +5804,7 @@ static void registerGeometryNodes() register_node_type_geo_image_texture(); register_node_type_geo_input_curve_handles(); register_node_type_geo_input_curve_tilt(); + register_node_type_geo_input_id(); register_node_type_geo_input_index(); register_node_type_geo_input_material_index(); register_node_type_geo_input_material(); @@ -5852,6 +5853,7 @@ static void registerGeometryNodes() register_node_type_geo_set_curve_handles(); register_node_type_geo_set_curve_radius(); register_node_type_geo_set_curve_tilt(); + register_node_type_geo_set_id(); register_node_type_geo_set_material_index(); register_node_type_geo_set_material(); register_node_type_geo_set_point_radius(); |