diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-31 07:07:12 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-31 07:19:06 +0300 |
commit | 94444aaadf238ab2de4226d6b1b66284d479a931 (patch) | |
tree | a5f283dbab9d527378942e677530bc04757122a2 /source/blender/makesrna/RNA_enum_items.h | |
parent | fb86f3ee187327eb659daf6d17d9233ec78508bc (diff) |
PyDoc: de-duplicate enums for rna_rna.c & bpy_props.c
Lists of items for bpy.props were duplicated 3 times, now all enums are
defined once in rna_rna.c and referenced from bpy.props doc-strings.
Diffstat (limited to 'source/blender/makesrna/RNA_enum_items.h')
-rw-r--r-- | source/blender/makesrna/RNA_enum_items.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_enum_items.h b/source/blender/makesrna/RNA_enum_items.h index e1b093e7add..8c42bbe2ee6 100644 --- a/source/blender/makesrna/RNA_enum_items.h +++ b/source/blender/makesrna/RNA_enum_items.h @@ -150,7 +150,15 @@ DEF_ENUM(rna_enum_wm_report_items) DEF_ENUM(rna_enum_property_type_items) DEF_ENUM(rna_enum_property_subtype_items) +DEF_ENUM(rna_enum_property_subtype_string_items) +DEF_ENUM(rna_enum_property_subtype_number_items) +DEF_ENUM(rna_enum_property_subtype_number_array_items) DEF_ENUM(rna_enum_property_unit_items) +DEF_ENUM(rna_enum_property_flag_items) +DEF_ENUM(rna_enum_property_flag_enum_items) +DEF_ENUM(rna_enum_property_override_flag_items) +DEF_ENUM(rna_enum_property_override_flag_collection_items) +DEF_ENUM(rna_enum_property_string_search_flag_items) DEF_ENUM(rna_enum_shading_type_items) |