Update glTF2Asset.inl

Remove my nonsense, sorry!
pull/2243/head
Kim Kulling 2018-11-27 23:22:09 +01:00 committed by GitHub
parent 657014dff6
commit 47e3301c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1359,11 +1359,9 @@ inline void Asset::Load(const std::string& pFile, bool isBinary)
// Force reading of skins since they're not always directly referenced
if (Value* skinsArray = FindArray(doc, "skins")) {
if ( nullptr != skinsArray ) {
for (unsigned int i = 0; i < skinsArray->Size(); ++i) {
skins.Retrieve(i);
}
}
for (unsigned int i = 0; i < skinsArray->Size(); ++i) {
skins.Retrieve(i);
}
}
if (Value* animsArray = FindArray(doc, "animations")) {