mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Hull length is int.
This commit is contained in:
parent
1a176d8436
commit
5848973f0b
@ -564,7 +564,7 @@ spSkeletonData* spSkeletonJson_readSkeletonData (spSkeletonJson* self, const cha
|
||||
mesh->a = toColor(color, 3);
|
||||
}
|
||||
|
||||
mesh->hullLength = Json_getFloat(attachmentMap, "hull", 0);
|
||||
mesh->hullLength = Json_getInt(attachmentMap, "hull", 0);
|
||||
|
||||
entry = Json_getItem(attachmentMap, "edges");
|
||||
if (entry) {
|
||||
@ -635,7 +635,7 @@ spSkeletonData* spSkeletonJson_readSkeletonData (spSkeletonJson* self, const cha
|
||||
mesh->a = toColor(color, 3);
|
||||
}
|
||||
|
||||
mesh->hullLength = Json_getFloat(attachmentMap, "hull", 0);
|
||||
mesh->hullLength = Json_getInt(attachmentMap, "hull", 0);
|
||||
|
||||
entry = Json_getItem(attachmentMap, "edges");
|
||||
if (entry) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user