Skip to content

Commit 0e20946

Browse files
authored
Merge pull request #56 from LasseHolch/spline_round_updates
bug fix in the grid for SplineDisk
2 parents dcc2de2 + 5bb05f8 commit 0e20946

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/classy_blocks/construct/flat/sketches/spline_round.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ def __init__(
336336
@property
337337
def grid(self) -> List[List[Face]]:
338338
if len(self.faces) > 6:
339-
return [self.faces[:4], self.faces[4:]]
339+
return [self.faces[::3],
340+
[face for i, face in enumerate(self.faces) if not i % 3 == 0]]
340341
else:
341342
return super().grid
342343

0 commit comments

Comments
 (0)