mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 08:44:25 +08:00
Don't crash if the build volume is smaller than one arrange cell
Fixes Sentry issue CURA-M6.
This commit is contained in:
parent
52b4e98056
commit
09ee9660ea
@ -196,6 +196,7 @@ class Arrange:
|
|||||||
start_idx = 0
|
start_idx = 0
|
||||||
else:
|
else:
|
||||||
start_idx = 0
|
start_idx = 0
|
||||||
|
priority = 0
|
||||||
for priority in self._priority_unique_values[start_idx::step]:
|
for priority in self._priority_unique_values[start_idx::step]:
|
||||||
tryout_idx = numpy.where(self._priority == priority)
|
tryout_idx = numpy.where(self._priority == priority)
|
||||||
for idx in range(len(tryout_idx[0])):
|
for idx in range(len(tryout_idx[0])):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user