diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-19 05:21:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-19 05:30:18 +0300 |
commit | 7ba1489bd7235a333a4f99040b3c9e7501bf346c (patch) | |
tree | 5eeea838eb15f131b4c59033b1c89170e40af248 /source/blender/makesrna/RNA_enum_types.h | |
parent | f98e2c0427c1dc5e2f1cac58cfb43b464013a33b (diff) |
Cleanup: use 'context' to make panels show in their section
All panels were calling poll to draw in their section causing a lot of
repeated boiler plate poll functions.
Also rename 'PreferencePanel' to 'CenterAlignMixIn'
since this is it's purpose.
Diffstat (limited to 'source/blender/makesrna/RNA_enum_types.h')
-rw-r--r-- | source/blender/makesrna/RNA_enum_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index 318522427d8..d7f6ec1fb5a 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -219,6 +219,7 @@ extern const EnumPropertyItem rna_enum_abc_compression_items[]; extern const EnumPropertyItem rna_enum_context_mode_items[]; extern const EnumPropertyItem rna_enum_curveprofile_preset_items[]; +extern const EnumPropertyItem rna_enum_preference_section_items[]; /* API calls */ int rna_node_tree_type_to_enum(struct bNodeTreeType *typeinfo); |