소스 검색

C4D. Fix merge conflicts

Kim Kulling 3 년 전
부모
커밋
c3b91dd766
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      code/AssetLib/C4D/C4DImporter.cpp

+ 4 - 2
code/AssetLib/C4D/C4DImporter.cpp

@@ -117,13 +117,15 @@ C4DImporter::~C4DImporter() {
 }
 
 // ------------------------------------------------------------------------------------------------
-bool C4DImporter::CanRead( const std::string& /*pFile*/, IOSystem* /*pIOHandler*/, bool /*checkSig*/) const {
-const std::string& extension = GetExtension(pFile);
+bool C4DImporter::CanRead( const std::string& pFile, IOSystem* /*pIOHandler*/, bool /*checkSig*/) const {
+    const std::string& extension = GetExtension(pFile);
     if (extension == "c4d") {
         return true;
     } else if ((!extension.length() || checkSig) && pIOHandler)   {
         // TODO
     }
+    
+    return false;
 }
 
 // ------------------------------------------------------------------------------------------------