diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-07 02:54:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-07 02:54:56 +0300 |
commit | 895295a9f0cb85c7c48c395621b9c9d7e5fc78a3 (patch) | |
tree | f9621ae96c65433301ba2a8ba401d43ad0df68d4 /source/blender/makesrna/RNA_access.h | |
parent | 87a6aab2518ed391c755e3e7aeae9692f25569ae (diff) |
Paint: update shortcut detection for new logic
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index 2c0d647332c..2f4d999c4fb 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -877,6 +877,7 @@ bool RNA_enum_name(const EnumPropertyItem *item, const int value, const char **r bool RNA_enum_description(const EnumPropertyItem *item, const int value, const char **description); int RNA_enum_from_value(const EnumPropertyItem *item, const int value); int RNA_enum_from_identifier(const EnumPropertyItem *item, const char *identifier); +int RNA_enum_from_name(const EnumPropertyItem *item, const char *name); unsigned int RNA_enum_items_count(const EnumPropertyItem *item); void RNA_property_enum_items_ex( |