Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2018-11-20 19:13:11 +0300
committerJacques Lucke <mail@jlucke.com>2018-11-20 19:13:11 +0300
commit07b8375e76a038a449bff65eb6c27edb7d892c28 (patch)
tree778be8b97440691ac460f966388bf5c4534dcc60 /io_import_images_as_planes.py
parent204cde7c3bc52aa751c63c1c9ad32a1c84ada44a (diff)
Import Images as Planes: Menu entry in new Add Image menu
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 3adb4dc7..e6d37d7b 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: