Code review issues

This commit is contained in:
Seva Alekseyev 2016-08-22 10:35:59 -04:00 committed by Ghostkeeper
parent 13ead1e4de
commit a43efcde05
2 changed files with 110 additions and 110 deletions

View file

@ -150,7 +150,7 @@ class StartSliceJob(Job):
obj.id = id(object)
verts = mesh_data.getVertices()
indices = mesh_data.getIndices()
if not indices is None:
if indices is not None:
verts = numpy.array([verts[vert_index] for face in indices for vert_index in face])
else:
verts = numpy.array(verts)