Browse Source

Fixed GLTF import

I noticed glTF2Importer::CanRead not returning the right value on success :wink:
niansa/tuxifan 4 years ago
parent
commit
ecbdb52633
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/ThirdParty/Assimp/code/glTF2Importer.cpp

+ 1 - 1
Source/ThirdParty/Assimp/code/glTF2Importer.cpp

@@ -117,7 +117,7 @@ bool glTF2Importer::CanRead(const std::string& pFile, IOSystem* pIOHandler, bool
         }
         }
     }
     }
 
 
-    return false;
+    return true;
 }
 }