mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[c] fix referenceScale scaling, closes #2864
This commit is contained in:
parent
2e9fcc6fb0
commit
225df0f6dd
@ -1348,7 +1348,7 @@ spSkeletonData *spSkeletonBinary_readSkeletonData(spSkeletonBinary *self, const
|
|||||||
skeletonData->y = readFloat(input);
|
skeletonData->y = readFloat(input);
|
||||||
skeletonData->width = readFloat(input);
|
skeletonData->width = readFloat(input);
|
||||||
skeletonData->height = readFloat(input);
|
skeletonData->height = readFloat(input);
|
||||||
skeletonData->referenceScale = readFloat(input);
|
skeletonData->referenceScale = readFloat(input) * self->scale;
|
||||||
|
|
||||||
nonessential = readBoolean(input);
|
nonessential = readBoolean(input);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user