浏览代码

Revert change

Kim Kulling 3 年之前
父节点
当前提交
7350baea93
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      code/AssetLib/SMD/SMDLoader.cpp

+ 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");
 }
 
 // ------------------------------------------------------------------------------------------------