Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_interface.c
| Context not available. | |||||
| return done; | return done; | ||||
| } | } | ||||
| void BPY_context_gpumat_set(void *mat) | |||||
| { | |||||
| bContext *C = BPy_GetContext(); | |||||
| CTX_gpu_material_set(C, mat); | |||||
| } | |||||
| void *BPY_context_gpumat_get(void) | |||||
| { | |||||
| bContext *C = BPy_GetContext(); | |||||
| return CTX_gpu_material_get(C); | |||||
| } | |||||
| #ifdef WITH_PYTHON_MODULE | #ifdef WITH_PYTHON_MODULE | ||||
| /* TODO, reloading the module isn't functional at the moment. */ | /* TODO, reloading the module isn't functional at the moment. */ | ||||
| Context not available. | |||||