浏览代码

Revert change.

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

+ 1 - 1
code/AssetLib/Raw/RawLoader.cpp

@@ -85,7 +85,7 @@ RAWImporter::~RAWImporter() {
 // ------------------------------------------------------------------------------------------------
 // Returns whether the class can handle the format of the given file.
 bool RAWImporter::CanRead(const std::string & /*pFile*/, IOSystem * /*pIOHandler*/, bool /*checkSig*/) const {
-    return false;
+    return SimpleExtensionCheck(pFile, "raw");
 }
 
 // ------------------------------------------------------------------------------------------------