[Bf-blender-cvs] [5dd64b3c88b] master: Python API: expose missing LAYER_MEMBER property type registration.

Kenneth Perry noreply at git.blender.org
Tue Aug 21 13:04:18 CEST 2018


Commit: 5dd64b3c88beb2ba3de6d38255cf20570cf49870
Author: Kenneth Perry
Date:   Tue Aug 21 12:37:20 2018 +0200
Branches: master
https://developer.blender.org/rB5dd64b3c88beb2ba3de6d38255cf20570cf49870

Python API: expose missing LAYER_MEMBER property type registration.

Differential Revision: https://developer.blender.org/D3628

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

M	source/blender/python/intern/bpy_props.c

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

diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c
index edcc2bef0c5..9b74b551b20 100644
--- a/source/blender/python/intern/bpy_props.c
+++ b/source/blender/python/intern/bpy_props.c
@@ -133,6 +133,7 @@ static const EnumPropertyItem property_subtype_array_items[] = {
 	{PROP_XYZ, "XYZ", 0, "XYZ", ""},
 	{PROP_COLOR_GAMMA, "COLOR_GAMMA", 0, "Color Gamma", ""},
 	{PROP_LAYER, "LAYER", 0, "Layer", ""},
+	{PROP_LAYER_MEMBER, "LAYER_MEMBER", 0, "Layer Member", ""},
 
 	{PROP_NONE, "NONE", 0, "None", ""},
 	{0, NULL, 0, NULL, NULL}};
@@ -140,7 +141,7 @@ static const EnumPropertyItem property_subtype_array_items[] = {
 #define BPY_PROPDEF_SUBTYPE_ARRAY_DOC \
 "   :arg subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', " \
                                 "'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', " \
-                                "'XYZ', 'COLOR_GAMMA', 'LAYER', 'NONE'].\n" \
+                                "'XYZ', 'COLOR_GAMMA', 'LAYER', 'LAYER_MEMBER', 'NONE'].\n" \
 "   :type subtype: string\n"
 
 /* PyObject's */



More information about the Bf-blender-cvs mailing list