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.
This commit is contained in:
2020-10-15 18:12:03 +11:00
parent 1cc3abca70
commit 5531697f6d
11 changed files with 33 additions and 35 deletions

View File

@@ -32,7 +32,7 @@ extern "C" {
#include <stdio.h>
/* bpy_interface.c */
void BPY_python_start(int argc, const char **argv);
void BPY_python_start(struct bContext *C, int argc, const char **argv);
void BPY_python_end(void);
void BPY_python_reset(struct bContext *C);
void BPY_python_use_system_env(void);