Added the no-nozzle offset for all polygons

CURA-3663
This commit is contained in:
Jaime van Kessel 2017-06-28 13:55:45 +02:00
parent b7165ad41d
commit 45eb301f9b

View file

@ -731,9 +731,9 @@ class BuildVolume(SceneNode):
if offset_y is None:
offset_y = 0
result[extruder_id] = []
for polygon in machine_disallowed_polygons:
result[extruder_id].append(polygon.translate(offset_x, offset_y)) #Compensate for the nozzle offset of this extruder.
if not no_nozzle_offsetting_for_disallowed_areas:
for polygon in machine_disallowed_polygons:
result[extruder_id].append(polygon.translate(offset_x, offset_y)) #Compensate for the nozzle offset of this extruder.
#Add the border around the edge of the build volume.
left_unreachable_border = 0