mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 11:01:36 +08:00
[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:
parent
0bb60cfb52
commit
a1c6e8f476
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user