Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <j.ha@ultimaker.com>2017-01-03 12:14:34 +0300
committerJack Ha <j.ha@ultimaker.com>2017-01-03 12:14:34 +0300
commite57de296e70d66d978f867dcd79289fb04ff7910 (patch)
tree129f2087eac47063d111bae4a145d03e53547dcb /plugins/CuraEngineBackend/ProcessSlicedLayersJob.py
parent55dd08eff81cd5e20b5f07c9590dc6679f326d67 (diff)
Readded accidently removed stuff
Diffstat (limited to 'plugins/CuraEngineBackend/ProcessSlicedLayersJob.py')
-rw-r--r--plugins/CuraEngineBackend/ProcessSlicedLayersJob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py b/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py
index 49c306ea77..a00ab69d67 100644
--- a/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py
+++ b/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py
@@ -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]