From 9dddef9b9dff03f341a7a22b0e8d5178f8b1f2d3 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 22 Dec 2023 10:37:34 +0100 Subject: [PATCH] Update D3MFImporter.cpp --- code/AssetLib/3MF/D3MFImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/3MF/D3MFImporter.cpp b/code/AssetLib/3MF/D3MFImporter.cpp index 5508c2505..9a5081db9 100644 --- a/code/AssetLib/3MF/D3MFImporter.cpp +++ b/code/AssetLib/3MF/D3MFImporter.cpp @@ -86,7 +86,7 @@ bool D3MFImporter::CanRead(const std::string &filename, IOSystem *pIOHandler, bo return false; } static const char *const ModelRef = "3D/3dmodel.model"; - ZipArchiveIOSystem archive(pIOHandler, rFile); + ZipArchiveIOSystem archive(pIOHandler, filename); if (!archive.Exists(ModelRef)) { return false; }