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.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user