mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Revert "Also invert nozzle offset when offsetting machine-specified disallowed areas"
This reverts commit 319559740d.
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 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue