[Bf-blender-cvs] [9bed68de134] master: Fix T98860: VectorProperty type renamed to COORDS (breaking scripts)

Campbell Barton noreply at git.blender.org
Thu Jun 16 10:10:44 CEST 2022


Commit: 9bed68de134c9cc5ff5295b95cc1bf0bae97b78a
Author: Campbell Barton
Date:   Thu Jun 16 16:41:41 2022 +1000
Branches: master
https://developer.blender.org/rB9bed68de134c9cc5ff5295b95cc1bf0bae97b78a

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]: 94444aaadf238ab2de4226d6b1b66284d479a931

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

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

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

diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index 895d6e8ba70..16a4dfe71cf 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -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", ""}



More information about the Bf-blender-cvs mailing list