From b1bef0686b6ce539cdab68310d8a6057105228f1 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Wed, 31 May 2023 12:22:41 +0800 Subject: [PATCH] FIX: modify the error message Change-Id: I6b55e190d4b101f7d4648985bfc4d4b24988c4ac --- src/slic3r/GUI/GUI_ObjectList.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 9ef419da8..32c6cc5f6 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -1970,7 +1970,8 @@ void ObjectList::load_modifier(const wxArrayString& input_files, ModelObject& mo model = Model::read_from_file(input_file, nullptr, nullptr, LoadStrategy::LoadModel); } catch (std::exception& e) { - auto msg = _L("Error!") + " " + input_file + " : " + e.what() + "."; + // auto msg = _L("Error!") + " " + input_file + " : " + e.what() + "."; + auto msg = _L("Error!") + " " + _L("Failed to get the model data in the current file."); show_error(parent, msg); return; }