diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-08-19 19:12:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-09-09 18:01:17 +0300 |
commit | 370d6e50252b979433f27959070315911cc340e5 (patch) | |
tree | f270972dd522a928e74b23334bb91a1cf174382f /source/blender/makesrna/RNA_enum_types.h | |
parent | a1397a3cc69382a64ab97bb71e4769fc0add0791 (diff) |
Geometry: add Attributes panel for PointCloud and Hair
There is a list of attributes, along with operators to add and remove
attributes. For adding, there are a few standard attributes that can be
added quickly, as well as a popup to create a custom attribute.
Ref T76659
Differential Revision: https://developer.blender.org/D8636
Diffstat (limited to 'source/blender/makesrna/RNA_enum_types.h')
-rw-r--r-- | source/blender/makesrna/RNA_enum_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index 08442a36c87..15b29e45053 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -26,6 +26,7 @@ extern "C" { #endif +struct ID; struct bNodeSocketType; struct bNodeTreeType; struct bNodeType; @@ -231,6 +232,10 @@ extern const EnumPropertyItem rna_enum_context_mode_items[]; extern const EnumPropertyItem rna_enum_curveprofile_preset_items[]; extern const EnumPropertyItem rna_enum_preference_section_items[]; +extern const EnumPropertyItem rna_enum_attribute_type_items[]; +extern const EnumPropertyItem rna_enum_attribute_domain_items[]; +extern const EnumPropertyItem *rna_enum_attribute_domain_itemf(struct ID *id, bool *r_free); + /* API calls */ int rna_node_tree_type_to_enum(struct bNodeTreeType *typeinfo); int rna_node_tree_idname_to_enum(const char *idname); |