diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 04:29:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 04:29:13 +0300 |
commit | 61d5b389e2424ff22576cc07b99260f952f6f97b (patch) | |
tree | 70707fe8017ba115d22ad723451ec9183cc0d242 /rigify/ui.py | |
parent | bdfca1046394902777ebe075b37597d416d634a9 (diff) |
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'rigify/ui.py')
-rw-r--r-- | rigify/ui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index a27d319b..827b0fc2 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -233,6 +233,8 @@ class Sample(bpy.types.Operator): #import space_info # ensure the menu is loaded first def register(): + bpy.utils.register_module(__name__) + #bpy.types.register(DATA_PT_rigify_buttons) #bpy.types.register(BONE_PT_rigify_buttons) #bpy.types.register(Generate) @@ -243,6 +245,8 @@ def register(): def unregister(): + bpy.utils.unregister_module(__name__) + #bpy.types.unregister(DATA_PT_rigify_buttons) #bpy.types.unregister(BONE_PT_rigify_buttons) #bpy.types.unregister(Generate) |