diff options
author | Bastien Montagne <bastien@blender.org> | 2020-08-21 19:55:27 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-08-21 19:55:27 +0300 |
commit | 70500121b457d1bb7ce6aeab39eb3c4c30a6ffe3 (patch) | |
tree | 7af836597f291c3198df58c4fd3e3fa95163e394 /source/blender/makesrna/intern/rna_color.c | |
parent | 74ded456b3fa93ca708b5ec47afafc61ba44adaf (diff) |
Cleanup: rename iterators over sequences to be more clear about what they do.
No functional changes expected.
Diffstat (limited to 'source/blender/makesrna/intern/rna_color.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_color.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index cfc20db12f4..cc0d847f3ed 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -623,13 +623,14 @@ static void rna_ColorManagedColorspaceSettings_reload_update(Main *bmain, bool seq_found = false; if (&scene->sequencer_colorspace_settings != colorspace_settings) { - SEQ_BEGIN (scene->ed, seq) { + SEQ_ALL_BEGIN(scene->ed, seq) + { if (seq->strip && &seq->strip->colorspace_settings == colorspace_settings) { seq_found = true; break; } } - SEQ_END; + SEQ_ALL_END; } if (seq_found) { @@ -643,10 +644,11 @@ static void rna_ColorManagedColorspaceSettings_reload_update(Main *bmain, BKE_sequence_invalidate_cache_preprocessed(scene, seq); } else { - SEQ_BEGIN (scene->ed, seq) { + SEQ_ALL_BEGIN(scene->ed, seq) + { BKE_sequence_free_anim(seq); } - SEQ_END; + SEQ_ALL_END; } WM_main_add_notifier(NC_SCENE | ND_SEQUENCER, NULL); |