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>2017-03-19 04:47:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-19 04:50:23 +0300
commit8c378c52c83757b9e78d5a98581bf240ed31a1ec (patch)
tree4a44a8e7fab77f9f812a8940713f14dceeec512c /io_scene_x
parent57f376e9465c6b79ebd4409bc30e0b5930dd4140 (diff)
Cleanup: identity for None comparison
Diffstat (limited to 'io_scene_x')
-rw-r--r--io_scene_x/export_x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x/export_x.py b/io_scene_x/export_x.py
index 64f5ff83..3ecc27e2 100644
--- a/io_scene_x/export_x.py
+++ b/io_scene_x/export_x.py
@@ -746,7 +746,7 @@ class MeshExportObject(ExportObject):
def GetMaterialKey(Material, UVTexture, Index):
Image = None
- if UVTexture != None and UVTexture.data[Index].image != None:
+ if UVTexture is not None and UVTexture.data[Index].image is not None:
Image = UVTexture.data[Index].image if \
UVTexture.data[Index].image.source == 'FILE' else None