update slic3r

This commit is contained in:
QIDI TECH
2025-05-08 15:05:30 +08:00
parent 126534997a
commit 011619cf23
307 changed files with 55594 additions and 19386 deletions

View File

@@ -757,7 +757,7 @@ PingCodeBindDialog::~PingCodeBindDialog() {
json j = json::parse(str.utf8_string());
if (j.contains("err_code")) {
int error_code = j["err_code"].get<int>();
wxGetApp().get_hms_query()->query_print_error_msg(error_code, extra);
extra = wxGetApp().get_hms_query()->query_print_error_msg(m_machine_info, error_code);
}
}
catch (...) {
@@ -914,7 +914,7 @@ void BindMachineDialog::on_show(wxShowEvent &event)
if (event.IsShown()) {
auto img = m_machine_info->get_printer_thumbnail_img_str();
if (wxGetApp().dark_mode()) { img += "_dark"; }
auto bitmap = create_scaled_bitmap(img, this, FromDIP(100));
auto bitmap = create_scaled_bitmap(img, this, FromDIP(80));
m_printer_img->SetBitmap(bitmap);
m_printer_img->Refresh();
m_printer_img->Show();
@@ -1134,7 +1134,7 @@ void UnBindMachineDialog::on_show(wxShowEvent &event)
if (event.IsShown()) {
auto img = m_machine_info->get_printer_thumbnail_img_str();
if (wxGetApp().dark_mode()) { img += "_dark"; }
auto bitmap = create_scaled_bitmap(img, this, FromDIP(100));
auto bitmap = create_scaled_bitmap(img, this, FromDIP(80));
m_printer_img->SetBitmap(bitmap);
m_printer_img->Refresh();
m_printer_img->Show();