diff options
author | Hans Goudey <h.goudey@me.com> | 2021-01-13 19:10:25 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-01-13 19:10:25 +0300 |
commit | 8df0268e2bac6fce22b1642555474fe8ccc8538d (patch) | |
tree | ec3328031432343f78ffd6a26c96c77f96701142 /source/blender/makesrna/intern | |
parent | 80578a9d54fbff72065fddb5ac61bc9c0288aebd (diff) |
Geometry Nodes: Rename "Rotate Points" to "Point Rotate"
This is consistent with the other node names, giving (almost) all of the
nodes in the "Point" category the same prefix.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 1f6359c2ed4..48821156b82 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -8721,15 +8721,15 @@ static void def_geo_attribute_color_ramp(StructRNA *srna) RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); } -static void def_geo_rotate_points(StructRNA *srna) +static void def_geo_point_rotate(StructRNA *srna) { static const EnumPropertyItem type_items[] = { - {GEO_NODE_ROTATE_POINTS_TYPE_AXIS_ANGLE, + {GEO_NODE_POINT_ROTATE_TYPE_AXIS_ANGLE, "AXIS_ANGLE", ICON_NONE, "Axis Angle", "Rotate around an axis by an angle"}, - {GEO_NODE_ROTATE_POINTS_TYPE_EULER, + {GEO_NODE_POINT_ROTATE_TYPE_EULER, "EULER", ICON_NONE, "Euler", @@ -8738,12 +8738,12 @@ static void def_geo_rotate_points(StructRNA *srna) }; static const EnumPropertyItem space_items[] = { - {GEO_NODE_ROTATE_POINTS_SPACE_OBJECT, + {GEO_NODE_POINT_ROTATE_SPACE_OBJECT, "OBJECT", ICON_NONE, "Object", "Rotate points in the local space of the object"}, - {GEO_NODE_ROTATE_POINTS_SPACE_POINT, + {GEO_NODE_POINT_ROTATE_SPACE_POINT, "POINT", ICON_NONE, "Point", |