From 47e3301c4768de184fc031e18dfcca00dfc9f0c0 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 27 Nov 2018 23:22:09 +0100 Subject: [PATCH] Update glTF2Asset.inl Remove my nonsense, sorry! --- code/glTF2Asset.inl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/glTF2Asset.inl b/code/glTF2Asset.inl index f8955d6d2..ed37937f4 100755 --- a/code/glTF2Asset.inl +++ b/code/glTF2Asset.inl @@ -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")) {