From 69f4088ba1f598394d4d599f996772a7b183aad7 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 30 Nov 2020 10:23:57 -0500 Subject: Geometry Nodes: Change modifier name The modifier was called "Empty", which reflects the fact that the modifier doesn't do anything when you add it. However, that is not true after you change the modifier's node group, and the fact that the modifier uses nodes is the one thing that distinguishes it at this point. This commit changes the name to "Geometry Nodes", which is simple and consistent with the "Geometry Node Editor" and the naming of the project so far. --- source/blender/makesrna/intern/rna_modifier.c | 2 +- source/blender/modifiers/intern/MOD_nodes.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index b84859543b7..fb2692910c5 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -143,7 +143,7 @@ const EnumPropertyItem rna_enum_object_modifier_type_items[] = { ICON_MOD_EDGESPLIT, "Edge Split", "Split away joined faces at the edges"}, - {eModifierType_Nodes, "NODES", ICON_NODETREE, "Empty", ""}, + {eModifierType_Nodes, "NODES", ICON_NODETREE, "Geometry Nodes", ""}, {eModifierType_Mask, "MASK", ICON_MOD_MASK, diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index f9f523ce2d4..fd8084d933c 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -1044,7 +1044,7 @@ static void freeData(ModifierData *md) } ModifierTypeInfo modifierType_Nodes = { - /* name */ "Empty", + /* name */ "GeometryNodes", /* structName */ "NodesModifierData", /* structSize */ sizeof(NodesModifierData), /* srna */ &RNA_NodesModifier, -- cgit v1.2.3