Import Shots for mu
This commit is contained in:
@@ -39,9 +39,6 @@ def register():
|
||||
bpy.app.handlers.frame_change_post.append(update_text_strips)
|
||||
bpy.app.handlers.render_pre.append(update_text_strips)
|
||||
|
||||
if bpy.app.background:
|
||||
return
|
||||
|
||||
for module in modules:
|
||||
module.register()
|
||||
|
||||
@@ -60,9 +57,6 @@ def unregister():
|
||||
# print(f"!-- {e} --!")
|
||||
# print(f"No preview collection found. {ASSET_PREVIEWS} can't be remove.")
|
||||
|
||||
if bpy.app.background:
|
||||
return
|
||||
|
||||
bpy.app.handlers.frame_change_post.remove(set_active_strip)
|
||||
for module in reversed(modules):
|
||||
module.unregister()
|
||||
|
||||
Reference in New Issue
Block a user