diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-06-29 11:15:29 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-06-29 11:15:29 +0300 |
commit | 13f3477288828b714dbddec8ab261ba7b4ebbab4 (patch) | |
tree | cf1a0aa759f965c5bbb38a48e14cb62bd511d8b1 /cura/BuildVolume.py | |
parent | e9d2434c419ff3f546802f24bb4e1317bfde945e (diff) |
Fixed crash when adding a single extrusion printer
CURA-3980
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-x | cura/BuildVolume.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 33927c4a98..84f62f932a 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -727,9 +727,11 @@ class BuildVolume(SceneNode): offset_x = extruder.getProperty("machine_nozzle_offset_x", "value") if offset_x is None: offset_x = 0 - offset_y = -extruder.getProperty("machine_nozzle_offset_y", "value") + offset_y = extruder.getProperty("machine_nozzle_offset_y", "value") if offset_y is None: offset_y = 0 + else: + offset_y = -offset_y result[extruder_id] = [] for polygon in machine_disallowed_polygons: |