Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/e/l/elovalo-HEAD/simulator/blender/voxel.py   elovalo(Download)
# exec on frame change
while len(bpy.app.handlers.frame_change_pre):
    bpy.app.handlers.frame_change_pre.pop()
 
bpy.app.handlers.frame_change_pre.append(update)

src/e/l/elovalo-HEAD/simulator/blender/sim.py   elovalo(Download)
# exec on frame change
while len(bpy.app.handlers.frame_change_pre):
    bpy.app.handlers.frame_change_pre.pop()