[c] fix referenceScale scaling, closes #2864

This commit is contained in:
Mario Zechner 2025-07-04 11:18:28 +02:00
parent 2e9fcc6fb0
commit 225df0f6dd

View File

@ -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);