node_kit/__init__.py

38 lines
539 B
Python
Raw Normal View History

2024-02-22 10:09:34 +01:00
bl_info = {
"name": "Node Kit",
"author": "Florentin Luce",
"version": (0, 1),
"blender": (4, 0, 2),
"category": "Node"}
import sys
import importlib
from pathlib import Path
2024-11-06 11:26:28 +01:00
from . import ui, operators
2024-02-22 10:09:34 +01:00
modules = (
ui,
operators,
)
if "bpy" in locals():
import importlib
for mod in modules:
importlib.reload(mod)
def register():
2024-11-06 11:26:28 +01:00
print('Register Node kit')
2024-02-22 10:09:34 +01:00
for mod in modules:
mod.register()
def unregister():
for mod in reversed(modules):
mod.unregister()