Update D3MFImporter.cpp

pull/5394/head
Kim Kulling 2023-12-22 10:32:54 +01:00
parent 274f64cbf1
commit b9576e6992
1 changed files with 2 additions and 2 deletions

View File

@ -85,9 +85,9 @@ bool D3MFImporter::CanRead(const std::string &filename, IOSystem *pIOHandler, bo
if (!ZipArchiveIOSystem::isZipArchive(pIOHandler, filename)) {
return false;
}
static const char *const ModelRef = "3D/3dmodel.model";
ZipArchiveIOSystem archive(pIOHandler, rFile);
if (!mZipArchive->archive()) {
if (!archive.Exists(ModelRef)) {
return false;
}