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,7 +731,7 @@ class BuildVolume(SceneNode):
if offset_y is None: if offset_y is None:
offset_y = 0 offset_y = 0
result[extruder_id] = [] result[extruder_id] = []
if not no_nozzle_offsetting_for_disallowed_areas:
for polygon in machine_disallowed_polygons: for polygon in machine_disallowed_polygons:
result[extruder_id].append(polygon.translate(offset_x, offset_y)) #Compensate for the nozzle offset of this extruder. result[extruder_id].append(polygon.translate(offset_x, offset_y)) #Compensate for the nozzle offset of this extruder.