Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/render/render_internal.c
| Context not available. | |||||
| } | } | ||||
| /* using context, starts job */ | /* using context, starts job */ | ||||
| static int screen_render_invoke(bContext *C, wmOperator *op, const wmEvent *event) | static int screen_render_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) | ||||
| { | { | ||||
| /* new render clears all callbacks */ | /* new render clears all callbacks */ | ||||
| Main *bmain = CTX_data_main(C); | Main *bmain = CTX_data_main(C); | ||||
| Context not available. | |||||
| // store spare | // store spare | ||||
| /* ensure at least 1 area shows result */ | /* ensure at least 1 area shows result */ | ||||
| sa = render_view_open(C, event->x, event->y, op->reports); | sa = render_view_open(C, op->reports); | ||||
| jobflag = WM_JOB_EXCL_RENDER | WM_JOB_PRIORITY | WM_JOB_PROGRESS; | jobflag = WM_JOB_EXCL_RENDER | WM_JOB_PRIORITY | WM_JOB_PROGRESS; | ||||
| Context not available. | |||||