diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-10 16:42:06 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-10 16:42:06 +0300 |
commit | 51ac411ce80c907a4fbe65ed735f683073730d02 (patch) | |
tree | 416c8f8e92825bf53fb8052f34adebb923cacb0c /source/blender/editors/screen/screen_ops.c | |
parent | 4816b1f11d0dea3031ca2e2210cd2acec81e3182 (diff) |
Cleanup: add ED_screen_areas_iter to clang-format ForEachMacros
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index eccc15456ae..e3df94f054f 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -1741,8 +1741,7 @@ static void area_move_apply_do(const bContext *C, /* only redraw if we actually moved a screen vert, for AREAGRID */ if (doredraw) { bool redraw_all = false; - ED_screen_areas_iter(win, screen, area) - { + ED_screen_areas_iter (win, screen, area) { if (area->v1->editflag || area->v2->editflag || area->v3->editflag || area->v4->editflag) { if (ED_area_is_global(area)) { /* Snap to minimum or maximum for global areas. */ @@ -1761,8 +1760,7 @@ static void area_move_apply_do(const bContext *C, } } if (redraw_all) { - ED_screen_areas_iter(win, screen, area) - { + ED_screen_areas_iter (win, screen, area) { ED_area_tag_redraw(area); } } |