Remove duplicate addition of items in the node_items list

CURA-7440
This commit is contained in:
Kostas Karmas 2020-10-09 17:19:53 +02:00
parent f9bd5e3dcd
commit d47623d58a

View File

@ -79,7 +79,6 @@ def findNodePlacement(nodes_to_arrange: List["SceneNode"], build_volume: "BuildV
for point in hull_polygon.getPoints():
converted_points.append(Point(point[0] * factor, point[1] * factor))
item = Item(converted_points)
node_items.append(item)
item.markAsFixedInBin(0)
node_items.append(item)
num_disallowed_areas_added += 1