2
0
Kim Kulling 3 жил өмнө
parent
commit
7350baea93

+ 1 - 2
code/AssetLib/SMD/SMDLoader.cpp

@@ -102,8 +102,7 @@ SMDImporter::~SMDImporter() {
 // ------------------------------------------------------------------------------------------------
 // Returns whether the class can handle the format of the given file.
 bool SMDImporter::CanRead( const std::string& /*pFile*/, IOSystem* /*pIOHandler*/, bool) const {
-    // fixme: auto format detection
-    return false;
+    return SimpleExtensionCheck(pFile,"smd","vta");
 }
 
 // ------------------------------------------------------------------------------------------------