diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index 3adb4dc7a992e22bf2627525f523ed39209bfdbd..e6d37d7b1cb71ca11c72fe26133b54ee9a5e2d88 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -1161,7 +1161,7 @@ def register(): bpy.utils.register_class(cls) bpy.types.TOPBAR_MT_file_import.append(import_images_button) - bpy.types.VIEW3D_MT_mesh_add.append(import_images_button) + bpy.types.VIEW3D_MT_image_add.append(import_images_button) bpy.app.handlers.load_post.append(register_driver) register_driver() @@ -1169,7 +1169,7 @@ def register(): def unregister(): bpy.types.TOPBAR_MT_file_import.remove(import_images_button) - bpy.types.VIEW3D_MT_mesh_add.remove(import_images_button) + bpy.types.VIEW3D_MT_image_add.remove(import_images_button) # This will only exist if drivers are active if check_drivers in bpy.app.handlers.scene_update_post: