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:
authorCampbell Barton <ideasman42@gmail.com>2019-06-22 06:52:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-22 06:52:05 +0300
commita1f74409ea3003a3eedb4d613336953a546c2397 (patch)
tree2ab50659327f18612a66f2c068b833c0831f45d9 /io_import_images_as_planes.py
parentf148c5613d166b0b7c63542417631d9807e61cb1 (diff)
Cleanup: redundant set/tuple use for comparison
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index bed61ce3..ca55ef70 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -853,7 +853,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
def invoke(self, context, event):
engine = context.scene.render.engine
if engine not in {'CYCLES', 'BLENDER_EEVEE'}:
- if engine not in {'BLENDER_WORKBENCH'}:
+ if engine != 'BLENDER_WORKBENCH':
self.report({'ERROR'}, "Cannot generate materials for unknown %s render engine" % engine)
return {'CANCELLED'}
else: