mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
[libgdx] Fixed an infinite loop with path constraint.
This commit is contained in:
parent
1b4973628c
commit
df489b1f4a
@ -109,7 +109,7 @@ public class PathConstraint implements Updatable {
|
||||
switch (data.spacingMode) {
|
||||
case percent:
|
||||
if (scale) {
|
||||
for (int i = 0, n = spacesCount - 1; i < n;) {
|
||||
for (int i = 0, n = spacesCount - 1; i < n; i++) {
|
||||
Bone bone = (Bone)bones[i];
|
||||
float setupLength = bone.data.length;
|
||||
if (setupLength < epsilon)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user