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 /add_mesh_3d_function_surface.py | |
parent | bdfca1046394902777ebe075b37597d416d634a9 (diff) |
add in module register calls (first pass, batch replace, will test each addon next).
Diffstat (limited to 'add_mesh_3d_function_surface.py')
-rw-r--r-- | add_mesh_3d_function_surface.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/add_mesh_3d_function_surface.py b/add_mesh_3d_function_surface.py index 322ae707..5716e832 100644 --- a/add_mesh_3d_function_surface.py +++ b/add_mesh_3d_function_surface.py @@ -514,12 +514,16 @@ def menu_func_xyz(self, context): def register(): + bpy.utils.register_module(__name__) + # Add menus to the "Add Mesh" menu space_info.INFO_MT_mesh_add.append(menu_func_z) space_info.INFO_MT_mesh_add.append(menu_func_xyz) def unregister(): + bpy.utils.unregister_module(__name__) + # Remove menus from the "Add Mesh" menu. space_info.INFO_MT_mesh_add.remove(menu_func_z) space_info.INFO_MT_mesh_add.remove(menu_func_xyz) |