Readded accidently removed stuff

This commit is contained in:
Jack Ha 2017-01-03 10:14:34 +01:00
parent 55dd08eff8
commit e57de296e7
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ class ProcessSlicedLayersJob(Job):
new_points = numpy.empty((len(points), 3), numpy.float32)
if polygon.point_type == 0: # Point2D
new_points[:, 0] = points[:, 0]
new_points[:, 1] = layer.height / 1000 # layer height value is in backend representation
new_points[:, 1] = layer.height / 1000 # layer height value is in backend representation
new_points[:, 2] = -points[:, 1]
else: # Point3D
new_points[:, 0] = points[:, 0]