diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-16 12:55:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-16 16:01:25 +0300 |
commit | 31f47f44dee2f1625c584e73e3e7f35e0157dd2a (patch) | |
tree | 4fba111c07d03eccefd5f5477a1bc9cc58d75b9b /source/blender | |
parent | 5fde26454ce54142b98f9016ed68ec2911a65414 (diff) |
Cleanup: avoid shadowing w/ name 'base'
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_layer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_layer.h b/source/blender/blenkernel/BKE_layer.h index 633cb2c6044..17b854e5bf7 100644 --- a/source/blender/blenkernel/BKE_layer.h +++ b/source/blender/blenkernel/BKE_layer.h @@ -239,9 +239,9 @@ void BKE_visible_bases_iterator_end(BLI_Iterator *iter); #define FOREACH_OBJECT(view_layer, _instance) \ { \ Object *_instance; \ - Base *base; \ - for (base = (view_layer)->object_bases.first; base; base = base->next) { \ - _instance = base->object; + Base *_base; \ + for (_base = (view_layer)->object_bases.first; _base; _base = _base->next) { \ + _instance = _base->object; #define FOREACH_OBJECT_END \ } \ |