Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-01 09:50:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-01 09:50:48 +0300
commit89fa9aada56bae1505d2c803a1b127d2c0c15970 (patch)
tree6d46134c15474c4d5cc5d99e4245decb6d01846b /source/blender/python/intern/bpy_rna.c
parent1730829592478f584d15f7874fa7e9cade1eb169 (diff)
Cleanup: use "pyrna_enum_*" prefix for RNA utility functions
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r--source/blender/python/intern/bpy_rna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 42db49b7688..9d0755a865d 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -1213,7 +1213,7 @@ static const char *pyrna_enum_as_string(PointerRNA *ptr, PropertyRNA *prop)
RNA_property_enum_items(BPY_context_get(), ptr, prop, &item, NULL, &free);
if (item) {
- result = BPy_enum_as_string(item);
+ result = pyrna_enum_repr(item);
}
else {
result = "";
@@ -1275,7 +1275,7 @@ static int pyrna_prop_to_enum_bitfield(
RNA_property_enum_items(BPY_context_get(), ptr, prop, &item, NULL, &free);
if (item) {
- ret = pyrna_set_to_enum_bitfield(item, value, r_value, error_prefix);
+ ret = pyrna_enum_bitfield_from_set(item, value, r_value, error_prefix);
}
else {
if (PySet_GET_SIZE(value)) {