mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:19:01 +08:00
Revert "Also invert nozzle offset when offsetting machine-specified disallowed areas"
This reverts commit 319559740dd8c8c2f9ffad637bee43cef9345073. This was already fixed (line 734 inveted it). This code breaks it when there is no extruder
This commit is contained in:
parent
68cae135a9
commit
5895f27792
@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Copyright (c) 2016 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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user