Fix T54302 - Wrong added scene when adding a scene strip to the Sequencer
authorJoshua Leung <aligorith@gmail.com>
Tue, 13 Mar 2018 10:04:58 +0000 (23:04 +1300)
committerJoshua Leung <aligorith@gmail.com>
Tue, 13 Mar 2018 10:05:57 +0000 (23:05 +1300)
commit81c199af8365c5a52bb7e8a1a4046acfceea1519
tree4e32e09cd05a8e42f512f0f34db0dd673ef98cff
parente0bb5109b32fb92f237b64128e8b0a0de788c8c2
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).
source/blender/windowmanager/intern/wm_operators.c