From 5531697f6d4a27137dd91996ee80d452b7147a02 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 15 Oct 2020 18:12:03 +1100 Subject: 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. --- source/blender/python/BPY_extern_python.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/BPY_extern_python.h') diff --git a/source/blender/python/BPY_extern_python.h b/source/blender/python/BPY_extern_python.h index 70b5cd679b9..c321fd93379 100644 --- a/source/blender/python/BPY_extern_python.h +++ b/source/blender/python/BPY_extern_python.h @@ -32,7 +32,7 @@ extern "C" { #include /* 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); -- cgit v1.2.3