Skip to content

Commit

Permalink
editor: update the repeat limit for n-slicing
Browse files Browse the repository at this point in the history
currently it's 1000, which I think is too low (i was being conservative). This bumps it up to 10k

Diffs=
7be5f73b5a editor: update the repeat limit for n-slicing (#8604)

Co-authored-by: Susan Wang <susan@rive.app>
  • Loading branch information
susan101566 and susan101566 committed Nov 20, 2024
1 parent bc9af48 commit 6388bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3eefba5039d73329b31048b3bd839bfabc177bc0
7be5f73b5af1f9ec9ac76e661e17548c0a1f1f4b
2 changes: 1 addition & 1 deletion src/shapes/slice_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ uint16_t SliceMesh::tileRepeat(std::vector<SliceMeshVertex>& vertices,
float curY = startY;
int curV = start;

int escape = 1000;
int escape = 10000;
while (curY < endY && escape > 0)
{
escape--;
Expand Down

0 comments on commit 6388bcf

Please sign in to comment.