mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Merge branch '4.1' into 4.2
This commit is contained in:
commit
6c8d5e1615
@ -324,11 +324,11 @@ SkeletonData *SkeletonBinary::readSkeletonData(const unsigned char *binary, cons
|
|||||||
skeletonData->_skins.add(defaultSkin);
|
skeletonData->_skins.add(defaultSkin);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this->getError().isEmpty()) {
|
if (!this->getError().isEmpty()) {
|
||||||
delete input;
|
delete input;
|
||||||
delete skeletonData;
|
delete skeletonData;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Skins. */
|
/* Skins. */
|
||||||
for (size_t i = 0, n = (size_t) readVarint(input, true); i < n; ++i) {
|
for (size_t i = 0, n = (size_t) readVarint(input, true); i < n; ++i) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user