ENH:support for model names containing spaces

Change-Id: I267d8b87cd2ae4ad8f90d47eab97305b88239771
This commit is contained in:
tao wang 2023-04-20 21:21:28 +08:00 committed by Lane.Wei
parent b98ced1b13
commit c4ad08f5fd
2 changed files with 27 additions and 16 deletions

View file

@ -314,7 +314,7 @@ public:
bool is_recreating_gui() const { return m_is_recreating_gui; }
std::string logo_name() const { return is_editor() ? "BambuStudio" : "BambuStudio-gcodeviewer"; }
std::vector<std::string> split_str(const std::string& src, const std::string& separator);
std::vector<std::string> split_str(std::string src, std::string separator);
// To be called after the GUI is fully built up.
// Process command line parameters cached in this->init_params,
// load configs, STLs etc.