I'm writing a plugin which synchronizes the scene with another app, so I use the `scene_update_post` handler. For instance, when I change an object's position, `bpy.data.objects.is_updated` becomes `True` as well as `bpy.data.objects['The object'].is_updated`, like described in a blog article. However, changing the scene active camera doesn't set `is_updated`, nor `bpy.data.scenes.is_updated`, therefore I can't synchronize the switch.
Minimized code:
import bpy
def scene_update(scene):
if scene.is_updated:
print("yay")
# or
# print(scene.is_updated)
bpy.app.handlers.scene_update_post.append(scene_update)