diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-30 02:10:47 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-30 02:10:47 +0300 |
commit | 748f468fdc7b80b7e84a854c63443050fcacad9c (patch) | |
tree | a699415443baf6df330e3ab5542e071dbcc7dcee /source/blender/blenkernel | |
parent | dca9aa0053f7d711c1b42a4f2042827a1e286bea (diff) |
Cleanup: Use "region" for ARegion variable names
As proposed in T74432 and already implemented in several commits,
"region" is the preferred name for `ARegion` variables, rather than
any variant of "ar". This commit changes a few "ar" variables that have
popped up over time and also adjusted names of variants like "arnew".
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/screen.c b/source/blender/blenkernel/intern/screen.c index 8662fce3dcc..f43bf3182c5 100644 --- a/source/blender/blenkernel/intern/screen.c +++ b/source/blender/blenkernel/intern/screen.c @@ -516,8 +516,8 @@ static void region_copylist(SpaceType *st, ListBase *lb1, ListBase *lb2) BLI_listbase_clear(lb1); for (region = lb2->first; region; region = region->next) { - ARegion *arnew = BKE_area_region_copy(st, region); - BLI_addtail(lb1, arnew); + ARegion *region_new = BKE_area_region_copy(st, region); + BLI_addtail(lb1, region_new); } } |