Import Shots for mu

This commit is contained in:
ChristopheSeux
2024-03-26 17:54:03 +01:00
parent ac14fe5ba9
commit dae9d55494
5 changed files with 159 additions and 19 deletions
-6
View File
@@ -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()