diff options
Diffstat (limited to 'add_mesh_BoltFactory/__init__.py')
-rw-r--r-- | add_mesh_BoltFactory/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/add_mesh_BoltFactory/__init__.py b/add_mesh_BoltFactory/__init__.py index 256c4f81..bca63573 100644 --- a/add_mesh_BoltFactory/__init__.py +++ b/add_mesh_BoltFactory/__init__.py @@ -46,10 +46,14 @@ def add_mesh_bolt_button(self, context): def register(): + bpy.utils.register_module(__name__) + bpy.types.INFO_MT_mesh_add.append(add_mesh_bolt_button) #bpy.types.VIEW3D_PT_tools_objectmode.prepend(add_mesh_bolt_button) #just for testing def unregister(): + bpy.utils.unregister_module(__name__) + bpy.types.INFO_MT_mesh_add.remove(add_mesh_bolt_button) #bpy.types.VIEW3D_PT_tools_objectmode.remove(add_mesh_bolt_button) #just for testing |