You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In __init__.py, in register(), there's this line of code:
km = wm.keyconfigs.addon.keymaps.new(name="SequencerPreview", space_type="SEQUENCE_EDITOR", region_type="WINDOW")
In a batch environment, where I'm calling the blender binary to make it render frames without starting up the whole UI, it seems that wm.keyconfigs.addon is None, causing an exception. It looks like the rendering actually happens but my render script thinks that Blender failed and keeps rerendering the same chunk.
I don't know if it's the right solution, but a solution is to test for None and exit early:
if not wm.keyconfigs.addon:
return
km = wm.keyconfigs.addon.keymaps.new(name="SequencerPreview", space_type="SEQUENCE_EDITOR", region_type="WINDOW")
From bl_info at the top of the file:
"version": (1, 2, 9),
"blender": (2, 83, 0),
The text was updated successfully, but these errors were encountered:
In
__init__.py
, inregister()
, there's this line of code:In a batch environment, where I'm calling the blender binary to make it render frames without starting up the whole UI, it seems that
wm.keyconfigs.addon
isNone
, causing an exception. It looks like the rendering actually happens but my render script thinks that Blender failed and keeps rerendering the same chunk.I don't know if it's the right solution, but a solution is to test for
None
and exit early:From
bl_info
at the top of the file:The text was updated successfully, but these errors were encountered: