From 4e91d55bdfe430e066bdee16ed2b29a3c9948855 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Wed, 5 Apr 2017 10:41:54 +0200 Subject: [PATCH] Fix Arranger bestSpot. CURA-3239 --- cura/Arrange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Arrange.py b/cura/Arrange.py index aa5f16e3a7..78b89b9e6a 100755 --- a/cura/Arrange.py +++ b/cura/Arrange.py @@ -128,7 +128,7 @@ class Arrange: def bestSpot(self, shape_arr, start_prio = 0, step = 1): start_idx_list = numpy.where(self._priority_unique_values == start_prio) if start_idx_list: - start_idx = start_idx_list[0] + start_idx = start_idx_list[0][0] else: start_idx = 0 for prio in self._priority_unique_values[start_idx::step]: