Page MenuHome

Wrong scene when adding a scene strip - bpy.ops.sequencer.scene_strip_add
Closed, ResolvedPublic


Blender Version
Broken: master branch

Given scenes: Scene, Scene.001, and Scene.002, when user sets the active scene to Scene and adds a scene strip with Scene.002 in Video Sequence Editor (bpy.ops.sequencer.scene_strip_add), Scene.001 gets added instead. Similarly, adding Scene.001 adds Scene to itself, even though Scene wasn't listed at all.

This function might be relevant:

Adding i++ before continue on line 3888 fixes the bug.