diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 10:29:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 11:20:20 +0300 |
commit | 7a5854f4ce3e70b0ec6b18a688c79808d4110ff9 (patch) | |
tree | 8bb20650659360823349385a23baee68b45a82cc /source/blender/python/intern/bpy_rna.c | |
parent | 6ab634ccc477fb704fce45663f170e500d5694b8 (diff) |
Cleanup: quiet undeclared variable warning
Move bpy_context_module declaration to bpy_rna.h.
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 31c5600ff8f..cba6d2203fa 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -78,6 +78,8 @@ #define USE_MATHUTILS #define USE_STRING_COERCE +BPy_StructRNA *bpy_context_module = NULL; /* for fast access */ + static PyObject *pyrna_struct_Subtype(PointerRNA *ptr); static PyObject *pyrna_prop_collection_values(BPy_PropertyRNA *self); |