Fix T98860: VectorProperty type renamed to COORDS (breaking scripts)

Regression in [0] unintentionally renamed COORDINATES.
There was a naming discrepancy when two (nearly) identical arrays,
de-duplicating them caused the error.

[0]: 94444aaadf
This commit is contained in:
Campbell Barton 2022-06-16 16:41:41 +10:00
parent 36307d8fba
commit 9bed68de13
Notes: blender-bot 2023-02-14 05:12:59 +01:00
Referenced by issue #98927, Cursor input "low resolution" with Hi-DPI in gnome-shell
Referenced by issue #98860, *VectorProperty types argument value COORDINATES was renamed to COORDS, breaking existing scripts
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ const EnumPropertyItem rna_enum_property_type_items[] = {
{PROP_XYZ, "XYZ", 0, "XYZ", ""}, \
{PROP_XYZ_LENGTH, "XYZ_LENGTH", 0, "XYZ Length", ""}, \
{PROP_COLOR_GAMMA, "COLOR_GAMMA", 0, "Color", ""}, \
{PROP_COORDS, "COORDS", 0, "Coordinates", ""}, \
{PROP_COORDS, "COORDINATES", 0, "Coordinates", ""}, \
/* Boolean. */ \
{PROP_LAYER, "LAYER", 0, "Layer", ""}, \
{PROP_LAYER_MEMBER, "LAYER_MEMBER", 0, "Layer Member", ""}