Cleanup: Continue renaming ARegion variables from ar to region

Continuation of b2ee1770d4, now non-single word variables are also
renamed.
Part of T74432.

Also ran clang-format on affected files.
This commit is contained in:
2020-04-03 12:51:03 +02:00
parent 7ec59cc7b7
commit 10c2254d41
33 changed files with 348 additions and 344 deletions

View File

@@ -155,7 +155,7 @@ static void datadropper_id_sample_pt(bContext *C, DataDropper *ddr, int mx, int
ScrArea *sa = BKE_screen_find_area_xy(screen, -1, mx, my);
ScrArea *area_prev = CTX_wm_area(C);
ARegion *ar_prev = CTX_wm_region(C);
ARegion *region_prev = CTX_wm_region(C);
ddr->name[0] = '\0';
@@ -208,7 +208,7 @@ static void datadropper_id_sample_pt(bContext *C, DataDropper *ddr, int mx, int
}
CTX_wm_area_set(C, area_prev);
CTX_wm_region_set(C, ar_prev);
CTX_wm_region_set(C, region_prev);
}
/* sets the ID, returns success */