[spine-c] Fixed uninitialized value

* First space of path constraint spaces remained uninitialized
* This led to various visual bugs with path constraints
This commit is contained in:
Borislav Stanimirov 2016-07-19 19:56:16 +03:00
parent 0bb60cfb52
commit a1c6e8f476

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) {