Browse Source

Update D3MFImporter.cpp

Kim Kulling 1 year ago
parent
commit
9dddef9b9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/AssetLib/3MF/D3MFImporter.cpp

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

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