Page MenuHome

bpy.context.scene.frame_set() doesn't update marker cameras in viewports
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-5.0.0-31-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Quadro RTX 5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.56

Blender Version
Broken: version: 2.82 (sub 0), branch: master, commit date: 2019-10-11 23:26, hash: rBbde328352be2
Worked: (optional)

Short description of error
When calling bpy.context.scene.frame_set() causes the playhead to pass a marker, the active camera switches in the UI, but viewports don't update until manually passing a marker again.

Exact steps for others to reproduce the error

  1. Download the blendfile below.
  2. Execute the script. The camera should switch to SH01.CAMERA.000, which happens everywhere but in the viewport.