Merge branch 'feature_mesh_names' of https://github.com/paukstelis/Cura into paukstelis-feature_mesh_names

This commit is contained in:
Ghostkeeper 2018-09-28 13:26:15 +02:00
commit bfc3c5d8d8
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
3 changed files with 15 additions and 1 deletions

View file

@ -270,7 +270,7 @@ class StartSliceJob(Job):
obj = group_message.addRepeatedMessage("objects")
obj.id = id(object)
obj.name = object.getName()
indices = mesh_data.getIndices()
if indices is not None:
flat_verts = numpy.take(verts, indices.flatten(), axis=0)