diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-29 16:04:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-29 16:10:37 +0300 |
commit | 4925188eae9fb077c324e308411edc5b71a5f459 (patch) | |
tree | 0ddaef377f6ba8aa3c1704f3306b66b56ae80212 /io_import_images_as_planes.py | |
parent | cdf62c7a754276737a2a7cbc0b31aec51ca1cd41 (diff) |
Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location.
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r-- | io_import_images_as_planes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index 292d4158..3e8b816a 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -1209,16 +1209,16 @@ def register(): for cls in classes: bpy.utils.register_class(cls) - bpy.types.INFO_MT_file_import.append(import_images_button) - bpy.types.INFO_MT_mesh_add.append(import_images_button) + bpy.types.TOPBAR_MT_file_import.append(import_images_button) + bpy.types.VIEW3D_MT_mesh_add.append(import_images_button) bpy.app.handlers.load_post.append(register_driver) register_driver() def unregister(): - bpy.types.INFO_MT_file_import.remove(import_images_button) - bpy.types.INFO_MT_mesh_add.remove(import_images_button) + bpy.types.TOPBAR_MT_file_import.remove(import_images_button) + bpy.types.VIEW3D_MT_mesh_add.remove(import_images_button) # This will only exist if drivers are active if check_drivers in bpy.app.handlers.scene_update_post: |