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

@@ -5122,7 +5122,7 @@ static int bpy_class_validate(PointerRNA *dummyptr, void *py_data, int *have_fun
return 0;
}
extern void BPY_update_modules( void ); //XXX temp solution
extern void BPY_update_modules(bContext *C); //XXX temp solution
/* TODO - multiple return values like with rna functions */
static int bpy_class_call(bContext *C, PointerRNA *ptr, FunctionRNA *func, ParameterList *parms)