Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-10-07 22:00:11 +0300
committerHans Goudey <h.goudey@me.com>2021-10-07 22:00:11 +0300
commit9708b1f317a16f329bbd249c73003330c935d4f7 (patch)
tree4499f815b2136294291bff01ef0c8c282146090d /source/blender/makesrna/intern/rna_nodetree.c
parente9daca77d69f70b32dca57f5ea181fd219a02d3b (diff)
Cleanup: Rename enum values
This makes the diff for adding a new version of the attribute transfer node slightly smaller.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index ddd2a3fcee0..5e997f81753 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -10522,13 +10522,13 @@ static void def_geo_curve_trim(StructRNA *srna)
static void def_geo_attribute_transfer(StructRNA *srna)
{
static EnumPropertyItem mapping_items[] = {
- {GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST_FACE_INTERPOLATED,
+ {GEO_NODE_LEGACY_ATTRIBUTE_TRANSFER_NEAREST_FACE_INTERPOLATED,
"NEAREST_FACE_INTERPOLATED",
0,
"Nearest Face Interpolated",
"Transfer the attribute from the nearest face on a surface (loose points and edges are "
"ignored)"},
- {GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST,
+ {GEO_NODE_LEGACY_ATTRIBUTE_TRANSFER_NEAREST,
"NEAREST",
0,
"Nearest",