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:
-rw-r--r--io_import_images_as_planes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index c47af01d..7ba5bfa2 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -19,7 +19,7 @@
bl_info = {
"name": "Import Images as Planes",
"author": "Florian Meyer (tstscr), mont29, matali",
- "version": (2, 0, 4),
+ "version": (2, 0, 5),
"blender": (2, 76, 1),
"location": "File > Import > Images as Planes or Add > Mesh > Images as Planes",
"description": "Imports images and creates planes with the appropriate aspect ratio. "
@@ -342,6 +342,7 @@ class IMPORT_OT_image_to_plane(Operator, AddObjectHelper):
elif engine == 'CYCLES':
materials = (self.create_cycles_material(context, img) for img in images)
else:
+ self.report({'ERROR'}, "Cannot generate materials for unknown %s render engine" % engine)
return
planes = tuple(self.create_image_plane(context, mat) for mat in materials)