mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-15 16:33:10 +00:00
feature remove not work code.
This commit is contained in:
@@ -4295,27 +4295,6 @@ std::string GUI_App::handle_web_request(std::string cmd)
|
||||
return "";
|
||||
}
|
||||
|
||||
void GUI_App::handle_script_message(std::string msg)
|
||||
{
|
||||
try {
|
||||
json j = json::parse(msg);
|
||||
if (j.contains("command")) {
|
||||
wxString cmd = j["command"];
|
||||
if (cmd == "user_login") {
|
||||
if (m_agent) {
|
||||
m_agent->change_user(j.dump());
|
||||
if (m_agent->is_user_login()) {
|
||||
request_user_login(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (...) {
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
void GUI_App::request_model_download(wxString url)
|
||||
{
|
||||
if (plater_) {
|
||||
|
||||
Reference in New Issue
Block a user