Page MenuHome

Fix for crash when running operations that require a window manager from within a timer
Needs ReviewPublic

Authored by Morgan Davidson (modavi) on Mon, Jun 15, 7:28 PM.



The following code currently crashes due to a window manager in an invalid state. The WindowManager changes during the timer callback, but we cache it before executing the timer.

def in_5_seconds():
	bpy.ops.wm.open_mainfile(filepath="C:\TestFile.blend"), first_interval=5)

Diff Detail

rB Blender