Skip to content

Commit

Permalink
Merge pull request #8 from womendoushihaoyin/newEngine
Browse files Browse the repository at this point in the history
feature:fix engine
  • Loading branch information
womendoushihaoyin authored Sep 25, 2024
2 parents 23c927b + 86fa22e commit f89e4f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/slic3r/GUI/GUI_App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2091,7 +2091,9 @@ bool GUI_App::OnInit()

#ifdef SERVER_ENGINE
std::vector<std::string> 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);
Expand Down

0 comments on commit f89e4f6

Please sign in to comment.