From 4925188eae9fb077c324e308411edc5b71a5f459 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 29 Aug 2018 15:04:48 +0200 Subject: Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location. --- add_mesh_BoltFactory/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'add_mesh_BoltFactory') diff --git a/add_mesh_BoltFactory/__init__.py b/add_mesh_BoltFactory/__init__.py index 46d250de..d441a0e8 100644 --- a/add_mesh_BoltFactory/__init__.py +++ b/add_mesh_BoltFactory/__init__.py @@ -49,14 +49,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_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_MT_mesh_add.remove(add_mesh_bolt_button) # bpy.types.VIEW3D_PT_tools_objectmode.remove(add_mesh_bolt_button) # just for testing -- cgit v1.2.3