From 86fa22e8e21ae0e3ae831c16b66b875363b40887 Mon Sep 17 00:00:00 2001 From: womendoushihaoyin Date: Wed, 25 Sep 2024 15:27:04 +0800 Subject: [PATCH] fixengine --- src/slic3r/GUI/GUI_App.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 5c30ada2077..001ef8c6f35 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2091,7 +2091,9 @@ bool GUI_App::OnInit() #ifdef SERVER_ENGINE std::vector files; - for (size_t i = 0; i < this->init_params->argc; ++i) { + for (size_t i = 1; i < this->init_params->argc; ++i) { + wxputs(init_params->argv[i]); + wxputs("\n") files.push_back(this->init_params->argv[i]); } Slic3r::GUI::Snapmaker_Orca_Engine* engine = new Slic3r::GUI::Snapmaker_Orca_Engine(files);