Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/area.c
| Context not available. | |||||
| { | { | ||||
| ARegion *ar; | ARegion *ar; | ||||
| /* happens when running transform operators in backround mode */ | /* happens when running transform operators in background mode */ | ||||
| if (sa == NULL) | if (sa == NULL) | ||||
| return; | return; | ||||
| Context not available. | |||||
| { | { | ||||
| AZone *az; | AZone *az; | ||||
| /* reinitalize entirely, regions and fullscreen add azones too */ | /* reinitialize entirely, regions and fullscreen add azones too */ | ||||
| BLI_freelistN(&sa->actionzones); | BLI_freelistN(&sa->actionzones); | ||||
| if (screen->state != SCREENNORMAL) { | if (screen->state != SCREENNORMAL) { | ||||
| Context not available. | |||||
| if (sa->type->init) | if (sa->type->init) | ||||
| sa->type->init(wm, sa); | sa->type->init(wm, sa); | ||||
| /* clear all azones, add the area triange widgets */ | /* clear all azones, add the area triangle widgets */ | ||||
| area_azone_initialize(win, screen, sa); | area_azone_initialize(win, screen, sa); | ||||
| /* region windows, default and own handlers */ | /* region windows, default and own handlers */ | ||||
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| /* for use after changing visiblity of regions */ | /* for use after changing visibility of regions */ | ||||
| void ED_region_visibility_change_update(bContext *C, ARegion *ar) | void ED_region_visibility_change_update(bContext *C, ARegion *ar) | ||||
| { | { | ||||
| ScrArea *sa = CTX_wm_area(C); | ScrArea *sa = CTX_wm_area(C); | ||||
| Context not available. | |||||