diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-03-13 13:04:58 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-03-13 13:05:57 +0300 |
commit | 81c199af8365c5a52bb7e8a1a4046acfceea1519 (patch) | |
tree | 4e32e09cd05a8e42f512f0f34db0dd673ef98cff /source | |
parent | e0bb5109b32fb92f237b64128e8b0a0de788c8c2 (diff) |
Fix T54302 - Wrong added scene when adding a scene strip to the Sequencer
When adding scene strips to the sequencer, the wrong scenes were
getting getting added if some were skipped. For example:
Given 4 scenes (A, B, C, D) if you're trying to add the last 3 scenes
(B, C, D) as strips to the first scene (A), it would ended up adding
"A, B, C" instead of "B, C, D" as expected.
Fix provided by Andrew (signal9).
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 8079cd0c2a9..2a50de62dda 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -3885,6 +3885,7 @@ static const EnumPropertyItem *rna_id_itemf( for (; id; id = id->next) { if ((filter_ids != NULL) && filter_ids(user_data, id) == false) { + i++; continue; } if (local == false || !ID_IS_LINKED(id)) { |