diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-09 03:44:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-09 03:52:11 +0300 |
commit | f47a41a3d9f9850f852abb3d76bea2c8b281bb45 (patch) | |
tree | b50d618fa0300e4ae96a5cf7d3029013515c5e93 /source/blender/blenkernel/intern/particle.c | |
parent | 9342f55d12f87dbc72e6953e0bc6c2564e57465f (diff) |
Cleanup: iterator macros
- put render iterator in own scope
(would shadow it's own variable if used multiple times).
- enforce semicolon at end of iterator macros.
- no need to typedef one-off macro structs.
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index e90fa299f44..94f37c3e02c 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -365,7 +365,7 @@ void psys_check_group_weights(ParticleSettings *part) BLI_addtail(&part->dupliweights, dw); } } - FOREACH_GROUP_OBJECT_END + FOREACH_GROUP_OBJECT_END; dw = part->dupliweights.first; for (; dw; dw = dw->next) { |