mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Code review issues
This commit is contained in:
parent
13ead1e4de
commit
a43efcde05
2 changed files with 110 additions and 110 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue