From 8fe024efdd2effbe622bcd37328515a39bcff004 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Mon, 29 May 2023 11:01:21 +0200 Subject: [PATCH] Import zip archive -> open 3mf project if it is project and not archive --- src/slic3r/GUI/Plater.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 6635645ddd..0c7dd0e6fc 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -5301,8 +5301,9 @@ void Plater::import_zip_archive() if (input_file.empty()) return; - fs::path path = into_path(input_file); - preview_zip_archive(path); + wxArrayString arr; + arr.Add(input_file); + load_files(arr, false); } void Plater::import_sl1_archive()