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 /object_fracture/__init__.py | |
parent | bdfca1046394902777ebe075b37597d416d634a9 (diff) |
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'object_fracture/__init__.py')
-rw-r--r-- | object_fracture/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/object_fracture/__init__.py b/object_fracture/__init__.py index b678724b..3379d75f 100644 --- a/object_fracture/__init__.py +++ b/object_fracture/__init__.py @@ -66,11 +66,15 @@ def menu_func(self, context): def register(): + bpy.utils.register_module(__name__) + # Add the "add fracture objects" menu to the "Add" menu space_info.INFO_MT_add.append(menu_func) def unregister(): + bpy.utils.unregister_module(__name__) + # Remove "add fracture objects" menu from the "Add" menu. space_info.INFO_MT_add.remove(menu_func) |