vse_toolbox/operators/__init__.py

30 lines
531 B
Python
Raw Normal View History

2023-03-14 13:38:04 +01:00
# SPDX-License-Identifier: GPL-2.0-or-later
2023-05-02 18:38:16 +02:00
from vse_toolbox.operators import (addon, casting, imports, render, sequencer,
spreadsheet, tracker)
modules = (
addon,
casting,
imports,
render,
sequencer,
spreadsheet,
tracker
)
2023-03-14 13:38:04 +01:00
if 'bpy' in locals():
import importlib
2023-05-02 18:38:16 +02:00
for mod in modules:
importlib.reload(mod)
2023-03-14 13:38:04 +01:00
import bpy
def register():
2023-05-02 18:38:16 +02:00
for mod in modules:
mod.register()
2023-03-14 13:38:04 +01:00
def unregister():
2023-05-02 18:38:16 +02:00
for mod in modules:
mod.unregister()