Page MenuHome

Deleting the active camera stops scene callbacks
Open, NormalPublic


System Information
Windows 10 - GTX 970

Blender Version
Broken: 2.79

Short description of error
Python scene callbacks stops after deleting the active camera.

Exact steps for others to reproduce the error

  1. Add callbacks to some scene callback list
  2. Delete the active camera

Bug file example



Event Timeline

When thinking back about it, I wonder if its really a bug...

As when there is no camera, there is no render to do, but in the other hand, I hugely depend on Python callbacks. But it seems like the only access we have to a callback triggered every frame is through these pre_draw/post_draw events.

If it doesn't make sense to execute pre_draw/post_draw if there is no camera to render from, then maybe adding some form of "logic" Python callbacks could really help, like calling a list of callbacks just after processing logic bricks, this would be a good fix in my opinion.