Add Easy_Weight to Addons #47

Merged
Nick Alberelli merged 48 commits from feature/easy_weights into main 2023-05-17 22:13:57 +02:00
Showing only changes of commit 313ba08c1b - Show all commits

View File

@ -23,9 +23,7 @@ bl_info = {
"tracker_url": "https://gitlab.com/blender/easy_weight/-/issues/new", "tracker_url": "https://gitlab.com/blender/easy_weight/-/issues/new",
} }
import bpy, importlib import importlib
from bpy.types import AddonPreferences
from bpy.props import BoolProperty
from . import smart_weight_transfer from . import smart_weight_transfer
from . import force_apply_mirror from . import force_apply_mirror
@ -49,12 +47,10 @@ modules = [
] ]
def register(): def register():
from bpy.utils import register_class
for m in modules: for m in modules:
importlib.reload(m) importlib.reload(m)
m.register() m.register()
def unregister(): def unregister():
from bpy.utils import unregister_class
for m in modules: for m in modules:
m.unregister() m.unregister()