Cleanup: quiet undeclared variable warning

Move bpy_context_module declaration to bpy_rna.h.
This commit is contained in:
2019-02-23 18:29:03 +11:00
parent 6ab634ccc4
commit 7a5854f4ce
5 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,6 @@ CLG_LOGREF_DECLARE_GLOBAL(BPY_LOG_RNA, "bpy.rna");
/* in case a python script triggers another python call, stop bpy_context_clear from invalidating */
static int py_call_level = 0;
BPy_StructRNA *bpy_context_module = NULL; /* for fast access */
// #define TIME_PY_RUN // simple python tests. prints on exit.