parent
d44e25350f
commit
657014dff6
|
@ -1359,10 +1359,12 @@ inline void Asset::Load(const std::string& pFile, bool isBinary)
|
||||||
|
|
||||||
// Force reading of skins since they're not always directly referenced
|
// Force reading of skins since they're not always directly referenced
|
||||||
if (Value* skinsArray = FindArray(doc, "skins")) {
|
if (Value* skinsArray = FindArray(doc, "skins")) {
|
||||||
|
if ( nullptr != skinsArray ) {
|
||||||
for (unsigned int i = 0; i < skinsArray->Size(); ++i) {
|
for (unsigned int i = 0; i < skinsArray->Size(); ++i) {
|
||||||
skins.Retrieve(i);
|
skins.Retrieve(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Value* animsArray = FindArray(doc, "animations")) {
|
if (Value* animsArray = FindArray(doc, "animations")) {
|
||||||
for (unsigned int i = 0; i < animsArray->Size(); ++i) {
|
for (unsigned int i = 0; i < animsArray->Size(); ++i) {
|
||||||
|
|
Loading…
Reference in New Issue