mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue