minor internal python api change - pass the context rather then getting from BPy_GetContext() again.

This commit is contained in:
2010-12-07 06:47:40 +00:00
parent 1e57d8c4e7
commit 612936954a
3 changed files with 5 additions and 5 deletions

View File

@@ -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);
//