fix for crash when loading a file from a script, and executing user modules in the newly loaded file.

This commit is contained in:
2011-08-20 13:29:42 +00:00
parent 5d88ba6165
commit a0a96a84fe
2 changed files with 16 additions and 10 deletions

View File

@@ -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