Merge pull request #644 from iboB/master

[spine-c] Fixed uninitialized value
This commit is contained in:
Mario Zechner 2016-07-19 22:02:23 +02:00 committed by GitHub
commit b564ad4503

View File

@ -101,6 +101,7 @@ void spPathConstraint_apply (spPathConstraint* self) {
self->spacesCount = spacesCount;
}
spaces = self->spaces;
spaces[0] = 0;
lengths = 0;
spacing = self->spacing;
if (scale || lengthSpacing) {