Revert change

pull/4342/head
Kim Kulling 2022-01-18 21:33:05 +01:00 committed by GitHub
parent 9d0006fecb
commit cff213d4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

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