mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:45:56 +08:00
Fix check for if nozzle offset exists
Because an offset of 0 results in False as well. Contributes to issue CURA-2625.
This commit is contained in:
parent
8879021d53
commit
41825231ad
@ -559,10 +559,10 @@ class BuildVolume(SceneNode):
|
||||
for extruder in used_extruders:
|
||||
extruder_id = extruder.getId()
|
||||
offset_x = extruder.getProperty("machine_nozzle_offset_x", "value")
|
||||
if not offset_x:
|
||||
if offset_x is None:
|
||||
offset_x = 0
|
||||
offset_y = extruder.getProperty("machine_nozzle_offset_y", "value")
|
||||
if not offset_y:
|
||||
if offset_y is None:
|
||||
offset_y = 0
|
||||
result[extruder_id] = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user