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>2021-12-10 13:40:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-10 13:40:53 +0300
commit63f8d18c0fbc8bce12c65eb6bd49ec28eef703e4 (patch)
treeb101eb9b530653d81ad8dd3630a6b5c2b71fcfda /source/blender/python/intern/bpy_capi_utils.h
parent3060217d39747589d66bc4501ceaf30f59923cdc (diff)
Cleanup: move public doc-strings into headers for 'python/intern'
Ref T92709
Diffstat (limited to 'source/blender/python/intern/bpy_capi_utils.h')
-rw-r--r--source/blender/python/intern/bpy_capi_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_capi_utils.h b/source/blender/python/intern/bpy_capi_utils.h
index 318b168ec5b..0e4a28fb657 100644
--- a/source/blender/python/intern/bpy_capi_utils.h
+++ b/source/blender/python/intern/bpy_capi_utils.h
@@ -47,6 +47,9 @@ bool BPy_errors_to_report(struct ReportList *reports);
struct bContext *BPY_context_get(void);
extern void bpy_context_set(struct bContext *C, PyGILState_STATE *gilstate);
+/**
+ * Context should be used but not now because it causes some bugs.
+ */
extern void bpy_context_clear(struct bContext *C, const PyGILState_STATE *gilstate);
#ifdef __cplusplus