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>2020-10-15 10:12:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-15 11:00:16 +0300
commit5531697f6d4a27137dd91996ee80d452b7147a02 (patch)
tree8c024bc8acac8387a22cc7bfa43ed4d1a5691321 /source/blender/python/BPY_extern.h
parent1cc3abca701775e0ddb0756a262df99b8e7a0276 (diff)
Cleanup: remove duplicate context variable (__py_context)
The context was stored both in __py_context & bpy_context_module. This avoids duplicate functions to update them too.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r--source/blender/python/BPY_extern.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h
index 6ed403bb21a..46b4dbc96d7 100644
--- a/source/blender/python/BPY_extern.h
+++ b/source/blender/python/BPY_extern.h
@@ -68,8 +68,7 @@ void BPY_thread_restore(BPy_ThreadStatePtr tstate);
(void)0
void BPY_text_free_code(struct Text *text);
-void BPY_modules_update(
- struct bContext *C); /* XXX - annoying, need this for pointers that get out of date */
+void BPY_modules_update(void);
void BPY_modules_load_user(struct bContext *C);
void BPY_app_handlers_reset(const short do_all);