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:
Diffstat (limited to 'io_convert_image_to_mesh_img')
-rw-r--r--io_convert_image_to_mesh_img/import_img.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_convert_image_to_mesh_img/import_img.py b/io_convert_image_to_mesh_img/import_img.py
index 40813bf1..1735d1c3 100644
--- a/io_convert_image_to_mesh_img/import_img.py
+++ b/io_convert_image_to_mesh_img/import_img.py
@@ -102,7 +102,7 @@ class hirise_dtm_helper(object):
# When are we done with this level?
endStr = "END"
- if not currentObjectName == None:
+ if not currentObjectName is None:
endStr = "END_OBJECT = %s" % currentObjectName
line = ""
@@ -408,9 +408,9 @@ class hirise_dtm_helper(object):
# dimensions shrink as we remove pixels
processed_dims = img_props.processed_dims()
- if XSize == None:
+ if XSize is None:
XSize = processed_dims[0]
- if YSize == None:
+ if YSize is None:
YSize = processed_dims[1]
if XSize + XOffset > processed_dims[0]: