2
0
Kim Kulling 1 жил өмнө
parent
commit
b9576e6992

+ 2 - 2
code/AssetLib/3MF/D3MFImporter.cpp

@@ -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;
     }