mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 14:45:58 +08:00
Fixed crash when adding a single extrusion printer
CURA-3980
This commit is contained in:
parent
e9d2434c41
commit
13f3477288
@ -727,9 +727,11 @@ 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:
|
||||||
|
offset_y = -offset_y
|
||||||
result[extruder_id] = []
|
result[extruder_id] = []
|
||||||
|
|
||||||
for polygon in machine_disallowed_polygons:
|
for polygon in machine_disallowed_polygons:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user