mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
NEW:optimizing error info for network requests
Change-Id: I8656c2f899b086b5ab52d94b7186e64df1625e3e
This commit is contained in:
@@ -10501,6 +10501,17 @@ std::vector<std::string> Plater::get_colors_for_color_print(const GCodeProcessor
|
||||
return colors;
|
||||
}
|
||||
|
||||
void Plater::update_print_error_info(int code, std::string msg, std::string extra)
|
||||
{
|
||||
if (p->m_select_machine_dlg) {
|
||||
p->m_select_machine_dlg->update_print_error_info(code, msg, extra);
|
||||
}
|
||||
|
||||
if (p->m_send_to_sdcard_dlg) {
|
||||
p->m_send_to_sdcard_dlg->update_print_error_info(code, msg, extra);
|
||||
}
|
||||
}
|
||||
|
||||
wxString Plater::get_project_filename(const wxString& extension) const
|
||||
{
|
||||
return p->get_project_filename(extension);
|
||||
|
||||
Reference in New Issue
Block a user