Cleanup: Rename bScreen variables from sc/scr to screen

Part of T74432.

Mostly a careful batch rename but had to do few smaller fixes.

Also ran clang-format on affected files.
This commit is contained in:
2020-04-03 14:23:21 +02:00
parent cff49e625f
commit ad85989a3f
51 changed files with 514 additions and 503 deletions

View File

@@ -127,10 +127,10 @@ static int compo_get_recalc_flags(const bContext *C)
int recalc_flags = 0;
for (win = wm->windows.first; win; win = win->next) {
const bScreen *sc = WM_window_get_active_screen(win);
const bScreen *screen = WM_window_get_active_screen(win);
ScrArea *area;
for (area = sc->areabase.first; area; area = area->next) {
for (area = screen->areabase.first; area; area = area->next) {
if (area->spacetype == SPACE_IMAGE) {
SpaceImage *sima = area->spacedata.first;
if (sima->image) {