mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Merge pull request #643 from iboB/master
[spine-c] Fixed calculation of number of path constraint timelines.
This commit is contained in:
commit
15326810c3
@ -162,7 +162,8 @@ static spAnimation* _spSkeletonJson_readAnimation (spSkeletonJson* self, Json* r
|
||||
timelinesCount += slotMap->size;
|
||||
timelinesCount += ik ? ik->size : 0;
|
||||
timelinesCount += transform ? transform->size : 0;
|
||||
timelinesCount += paths ? paths->size : 0;
|
||||
for (constraintMap = paths ? paths->child : 0; constraintMap; constraintMap = constraintMap->next)
|
||||
timelinesCount += constraintMap->size;
|
||||
for (constraintMap = deform ? deform->child : 0; constraintMap; constraintMap = constraintMap->next)
|
||||
for (slotMap = constraintMap->child; slotMap; slotMap = slotMap->next)
|
||||
timelinesCount += slotMap->size;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user