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:30:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-01 09:33:42 +0300
commit1730829592478f584d15f7874fa7e9cade1eb169 (patch)
treef7fbc703403a1f8675af9f7ae9966e7ae44d4f0a /source/blender/python/intern/bpy_msgbus.c
parent5352b335983279a479abf22abe3a2d3d457597b4 (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/intern/bpy_msgbus.c')
-rw-r--r--source/blender/python/intern/bpy_msgbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_msgbus.c b/source/blender/python/intern/bpy_msgbus.c
index 04220cf3105..0aff1249923 100644
--- a/source/blender/python/intern/bpy_msgbus.c
+++ b/source/blender/python/intern/bpy_msgbus.c
@@ -21,6 +21,7 @@
#include <Python.h>
+#include "../generic/py_capi_rna.h"
#include "../generic/py_capi_utils.h"
#include "../generic/python_utildefines.h"
#include "../mathutils/mathutils.h"