diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-01 09:30:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-01 09:33:42 +0300 |
commit | 1730829592478f584d15f7874fa7e9cade1eb169 (patch) | |
tree | f7fbc703403a1f8675af9f7ae9966e7ae44d4f0a /source/blender/python/generic/idprop_py_ui_api.c | |
parent | 5352b335983279a479abf22abe3a2d3d457597b4 (diff) |
Cleanup: move RNA utility functions into a generic module
Avoid having to include bpy_rna.h for enum utility functions,
recently added to idprop_py_ui_api.c.
Diffstat (limited to 'source/blender/python/generic/idprop_py_ui_api.c')
-rw-r--r-- | source/blender/python/generic/idprop_py_ui_api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/generic/idprop_py_ui_api.c b/source/blender/python/generic/idprop_py_ui_api.c index 7e88e79496b..82ccf619ec0 100644 --- a/source/blender/python/generic/idprop_py_ui_api.c +++ b/source/blender/python/generic/idprop_py_ui_api.c @@ -34,13 +34,12 @@ #include "RNA_access.h" #include "RNA_enum_types.h" -#include "../intern/bpy_rna.h" - #define USE_STRING_COERCE #ifdef USE_STRING_COERCE # include "py_capi_utils.h" #endif +#include "py_capi_rna.h" #include "python_utildefines.h" |