Blender Git Commit Log

Git Commits -> Revision e2f99c3

Revision e2f99c3 by Hans Goudey (master)
September 10, 2021, 15:34 (GMT)
Geometry Nodes: Add versioning to change legacy node ID names

Recently we have decided to avoid fancier versioning for nodes with
string inputs for attribute names when updating the attribute workflow
for 3.0. In that case we would just duplicate any node that will
have an updated version to work with fields.

We want to be able to use the "proper" ID names for the new versions
of the nodes though, so this patch adds "Legacy" to the IDs of all
nodes that will be replaced in 3.0. This commit also removes the nodes
from the add menu when the fields experimental preference is enabled,
in order to make it clear what has been updated and what hasn't.

Nodes in the "Maybe" categories in versioning_300.c can be renamed
later if necessary. For now it's probably better to be conservative,
and to keep the list complete.

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

Commit Details:

Full Hash: e2f99c338bd5787658ce08984e6856b7d369a41f
Parent Commit: 128eb6c
Lines Changed: +321, -158

43 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+44, -37) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+34, -34) (Diff)
/source/blender/blenkernel/intern/node.cc (+5, -4) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+8, -7) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+144, -1) (Diff)
/source/blender/editors/space_node/node_add.cc (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_color.c (+2, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_clamp.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_color_ramp.cc (+5, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc (+5, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_compare.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_convert.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_curve_map.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_map_range.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_proximity.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_sample_texture.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_separate_xyz.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_transfer.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_math.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_reverse.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_select_by_handle_type.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_set_handles.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_subdivide.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_material_assign.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_to_curve.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_points_to_volume.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_separate.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_select_by_material.cc (+1, -1) (Diff)
/source/blender/nodes/NOD_static_types.h (+35, -35) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021