Closed McManning closed 3 years ago
Few more notes on this:
Figured this out - the bpy.app.timers
registered for on_tick likes to hang when running at 120 FPS. lib.Update()
is definitely called while minimized but I think there's something between the time it takes to call that and Blender's attempt to re-run the timer causing a hang while minimized / trying to unminimize.
Switching the interval to 60 FPS fixed it for me but with the caveat of viewport performance looking worse.
What I'd like to do is have a dynamic FPS based on what the user is doing (actively moving the viewport camera / modeling - speeds up, then slows down when idle). I'll make a new ticket for that one though.
Trying to track this down, not sure if it's just me or universal.
I mashed ctrl+c a few times to get a few interrupt dumps when it happened: