Skip to content

Commit

Permalink
[spine-c] Fixed uninitialized value
Browse files Browse the repository at this point in the history
* First space of path constraint spaces remained uninitialized
* This led to various visual bugs with path constraints
  • Loading branch information
iboB committed Jul 19, 2016
1 parent 0bb60cf commit a1c6e8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spine-c/src/spine/PathConstraint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a1c6e8f

Please sign in to comment.