Invert Y direction of nozzle offsets

If there is a Y offset it should now move the disallowed areas in the correct direction

The initial placement of the disallowed borders was already correct.

Fixes #1977.
This commit is contained in:
Ghostkeeper 2018-03-05 09:23:21 +01:00
parent 3fe8709fd8
commit 396ea274c4
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -826,6 +826,7 @@ class BuildVolume(SceneNode):
offset_y = extruder.getProperty("machine_nozzle_offset_y", "value")
if offset_y is None:
offset_y = 0
offset_y = -offset_y #Y direction of g-code is the inverse of Y direction of Cura's scene space.
result[extruder_id] = []
for polygon in machine_disallowed_polygons: