From 612936954ac67cacee8d13f48ed1bd8b5ff386c7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Dec 2010 06:47:40 +0000 Subject: minor internal python api change - pass the context rather then getting from BPy_GetContext() again. --- source/blender/python/BPY_extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/BPY_extern.h') diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 323682b99aa..98e160525f8 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -100,7 +100,7 @@ extern "C" { int BPY_run_python_script( struct bContext *C, const char *filename, struct Text *text, struct ReportList *reports ); // 2.5 working int BPY_run_script_space_draw(const struct bContext *C, struct SpaceScript * sc); // 2.5 working // int BPY_run_script_space_listener(struct bContext *C, struct SpaceScript * sc, struct ARegion *ar, struct wmNotifier *wmn); // 2.5 working - void BPY_update_modules( void ); // XXX - annoying, need this for pointers that get out of date + void BPY_update_modules(struct bContext *C); // XXX - annoying, need this for pointers that get out of date // int BPY_context_get(struct bContext *C, const char *member, struct bContextDataResult *result); // -- cgit v1.2.3