mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge pull request #644 from iboB/master
[spine-c] Fixed uninitialized value
This commit is contained in:
commit
b564ad4503
@ -101,6 +101,7 @@ void spPathConstraint_apply (spPathConstraint* self) {
|
|||||||
self->spacesCount = spacesCount;
|
self->spacesCount = spacesCount;
|
||||||
}
|
}
|
||||||
spaces = self->spaces;
|
spaces = self->spaces;
|
||||||
|
spaces[0] = 0;
|
||||||
lengths = 0;
|
lengths = 0;
|
||||||
spacing = self->spacing;
|
spacing = self->spacing;
|
||||||
if (scale || lengthSpacing) {
|
if (scale || lengthSpacing) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user