[Bf-blender-cvs] [95236d8a752] master: Rename Color Attributes domain from "Point" to "Vertex"

Joseph Eagar noreply at git.blender.org
Wed Apr 13 18:58:16 CEST 2022


Commit: 95236d8a752ee299e4f63a3eb1ff75be78bcada9
Author: Joseph Eagar
Date:   Wed Apr 13 09:53:31 2022 -0700
Branches: master
https://developer.blender.org/rB95236d8a752ee299e4f63a3eb1ff75be78bcada9

Rename Color Attributes domain from "Point" to "Vertex"

Addresses T97257, to make it consistent with regular attributes tab

Review by: Julian Kaspar

Differential Revision: https://developer.blender.org/D14631
Ref D14631

===================================================================

M	source/blender/editors/geometry/geometry_attributes.cc

===================================================================

diff --git a/source/blender/editors/geometry/geometry_attributes.cc b/source/blender/editors/geometry/geometry_attributes.cc
index 75094b46c8b..467b8efa622 100644
--- a/source/blender/editors/geometry/geometry_attributes.cc
+++ b/source/blender/editors/geometry/geometry_attributes.cc
@@ -380,7 +380,7 @@ void GEOMETRY_OT_color_attribute_add(wmOperatorType *ot)
   prop = RNA_def_string(ot->srna, "name", "Color", MAX_NAME, "Name", "Name of color attribute");
   RNA_def_property_flag(prop, PROP_SKIP_SAVE);
 
-  static EnumPropertyItem domains[3] = {{ATTR_DOMAIN_POINT, "POINT", 0, "Point", ""},
+  static EnumPropertyItem domains[3] = {{ATTR_DOMAIN_POINT, "POINT", 0, "Vertex", ""},
                                         {ATTR_DOMAIN_CORNER, "CORNER", 0, "Face Corner", ""},
                                         {0, nullptr, 0, nullptr, nullptr}};



More information about the Bf-blender-cvs mailing list