[Bf-blender-cvs] [7bee1489c1d] master: UI: Rename "Float Color" attribute data type to "Color"

Hans Goudey noreply at git.blender.org
Fri Dec 18 16:34:39 CET 2020


Commit: 7bee1489c1d81ecf2634df96ba039549c64313c3
Author: Hans Goudey
Date:   Fri Dec 18 09:34:21 2020 -0600
Branches: master
https://developer.blender.org/rB7bee1489c1d81ecf2634df96ba039549c64313c3

UI: Rename "Float Color" attribute data type to "Color"

Since "Float Color" is more commonly used than "Byte Color",
which is not exposed in the interface yet anyway, it makes sense to
drop the "Float" label on the color data type name.

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

M	source/blender/makesrna/intern/rna_attribute.c

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

diff --git a/source/blender/makesrna/intern/rna_attribute.c b/source/blender/makesrna/intern/rna_attribute.c
index f98ca47d767..e9d258424d8 100644
--- a/source/blender/makesrna/intern/rna_attribute.c
+++ b/source/blender/makesrna/intern/rna_attribute.c
@@ -41,7 +41,7 @@ const EnumPropertyItem rna_enum_attribute_type_items[] = {
     {CD_PROP_FLOAT, "FLOAT", 0, "Float", "Floating-point value"},
     {CD_PROP_INT32, "INT", 0, "Integer", "32-bit integer"},
     {CD_PROP_FLOAT3, "FLOAT_VECTOR", 0, "Vector", "3D vector with floating-point values"},
-    {CD_PROP_COLOR, "FLOAT_COLOR", 0, "Float Color", "RGBA color with floating-point precisions"},
+    {CD_PROP_COLOR, "FLOAT_COLOR", 0, "Color", "RGBA color with floating-point precisions"},
     {CD_MLOOPCOL, "BYTE_COLOR", 0, "Byte Color", "RGBA color with 8-bit precision"},
     {CD_PROP_STRING, "STRING", 0, "String", "Text string"},
     {CD_PROP_BOOL, "BOOLEAN", 0, "Boolean", "True or false"},



More information about the Bf-blender-cvs mailing list