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:
authorGhostkeeper <rubend@tutanota.com>2017-07-03 11:53:50 +0300
committerGhostkeeper <rubend@tutanota.com>2017-07-03 11:53:50 +0300
commit319559740dd8c8c2f9ffad637bee43cef9345073 (patch)
treef8e4690536ed3d17c85e5d54965f514e4d9ba19d /cura/BuildVolume.py
parente98a6d76ba31a260e79fde2bc5abfe0e647f3bf2 (diff)
Also invert nozzle offset when offsetting machine-specified disallowed areas
We inverted it properly with the borders, but not here yet.
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py
index 53e1471f7b..de36b80123 100755
--- a/cura/BuildVolume.py
+++ b/cura/BuildVolume.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2016 Ultimaker B.V.
+# Copyright (c) 2017 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from cura.Settings.ExtruderManager import ExtruderManager
@@ -727,7 +727,7 @@ 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: