mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 06:19:02 +08:00
Also invert nozzle offset when offsetting machine-specified disallowed areas
We inverted it properly with the borders, but not here yet.
This commit is contained in:
parent
e98a6d76ba
commit
319559740d
@ -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.
|
# Cura is released under the terms of the AGPLv3 or higher.
|
||||||
|
|
||||||
from cura.Settings.ExtruderManager import ExtruderManager
|
from cura.Settings.ExtruderManager import ExtruderManager
|
||||||
@ -727,7 +727,7 @@ class BuildVolume(SceneNode):
|
|||||||
offset_x = extruder.getProperty("machine_nozzle_offset_x", "value")
|
offset_x = extruder.getProperty("machine_nozzle_offset_x", "value")
|
||||||
if offset_x is None:
|
if offset_x is None:
|
||||||
offset_x = 0
|
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:
|
if offset_y is None:
|
||||||
offset_y = 0
|
offset_y = 0
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user