Removed count from findNodePlacement

CURA-3239
This commit is contained in:
Jaime van Kessel 2017-04-07 16:16:38 +02:00
parent 04eca9073a
commit f42efcb7e0
3 changed files with 25 additions and 34 deletions

View file

@ -52,7 +52,7 @@ class MultiplyObjectsJob(Job):
for i in range(self._count):
# We do place the nodes one by one, as we want to yield in between.
nodes.extend(arranger.findNodePlacements(current_node, offset_shape_arr, hull_shape_arr, count = 1))
nodes.append(arranger.findNodePlacement(current_node, offset_shape_arr, hull_shape_arr))
Job.yieldThread()
status_message.setProgress((i + 1) / self._count * 100)