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);