I'd like to receive a msgbus notification when the active scene is switched, or somehow otherwise capture this event and respond to it in my code.
I thought this would be a fairly simple msgbus subscription to bpy.context.scene, but my listener is not receiving anything from msgbus, not even errors. In fact I don't seem to be able to get msgbus to fire for anything in bpy.context. What I was hoping for was something like an active
property for bpy.types.BlendDataScenes
that I can hook msgbus into, but I've come up blank and the lack of any kind of output from msgbus has left me fumbling in the dark with mittens on.
Has anyone been here before?