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>2011-08-20 17:29:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-20 17:29:42 +0400
commita0a96a84fed4669ac80d09a2fb667c601c048d23 (patch)
tree1c7d51e221755abd759cd3aa6185dbe2f99355eb /source/blender/python/intern/bpy_util.h
parent5d88ba6165b3695bd99668bb5a8d1dc1364e805b (diff)
fix for crash when loading a file from a script, and executing user modules in the newly loaded file.
Diffstat (limited to 'source/blender/python/intern/bpy_util.h')
-rw-r--r--source/blender/python/intern/bpy_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_util.h b/source/blender/python/intern/bpy_util.h
index b16c8fe2e8c..09fbdf96ed2 100644
--- a/source/blender/python/intern/bpy_util.h
+++ b/source/blender/python/intern/bpy_util.h
@@ -51,6 +51,7 @@ short BPy_errors_to_report(struct ReportList *reports);
struct bContext *BPy_GetContext(void);
void BPy_SetContext(struct bContext *C);
+extern void bpy_context_update(struct bContext *C);
extern void bpy_context_set(struct bContext *C, PyGILState_STATE *gilstate);
extern void bpy_context_clear(struct bContext *C, PyGILState_STATE *gilstate);
#endif