Update IFCLoader.cpp

Remove dead code.
This commit is contained in:
Kim Kulling
2018-10-08 14:51:50 +02:00
committed by GitHub
parent 931ef2cd0b
commit 871e1524e4

View File

@@ -134,7 +134,7 @@ IFCImporter::~IFCImporter()
bool IFCImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler, bool checkSig) const
{
const std::string& extension = GetExtension(pFile);
if (extension == "ifc" || extension == "ifczip" /*|| extension == "stp" */) {
if (extension == "ifc" || extension == "ifczip" ) {
return true;
} else if ((!extension.length() || checkSig) && pIOHandler) {
// note: this is the common identification for STEP-encoded files, so