ENH:Hide the entrance for farm printing

jira:[STUDIO-9670]

Change-Id: I7b12b8f59c5f4ebdc8c666f334000994b283b860
This commit is contained in:
tao wang 2025-01-10 17:47:36 +08:00 committed by lane.wei
parent 9dce95d401
commit 41c3289c24
1 changed files with 16 additions and 17 deletions

View File

@ -1843,19 +1843,9 @@ wxBoxSizer* MainFrame::create_side_tools()
p->Dismiss();
});
p->append_button(print_plate_btn);
p->append_button(print_all_btn);
p->append_button(send_to_printer_btn);
p->append_button(send_to_printer_all_btn);
p->append_button(export_sliced_file_btn);
p->append_button(export_all_sliced_file_btn);
if (check_bbl_farm_client_installed()) {
#if !BBL_RELEASE_TO_PUBLIC
SideButton *send_to_multi_app_btn = new SideButton(p, _L("Send to Bambu Farm Manager Client"), "");
send_to_multi_app_btn->SetCornerRadius(0);
p->append_button(send_to_multi_app_btn);
send_to_multi_app_btn->Bind(wxEVT_BUTTON, [this, p](wxCommandEvent &) {
m_print_btn->SetLabel(_L("Send to BFMC"));
m_print_select = eSendMultiApp;
@ -1864,9 +1854,18 @@ wxBoxSizer* MainFrame::create_side_tools()
this->Layout();
p->Dismiss();
});
}
#endif
p->append_button(print_plate_btn);
p->append_button(print_all_btn);
p->append_button(send_to_printer_btn);
p->append_button(send_to_printer_all_btn);
p->append_button(export_sliced_file_btn);
p->append_button(export_all_sliced_file_btn);
#if !BBL_RELEASE_TO_PUBLIC
p->append_button(send_to_multi_app_btn);
#endif
if (enable_multi_machine) {
SideButton* print_multi_machine_btn = new SideButton(p, _L("Send to Multi-device"), "");
print_multi_machine_btn->SetCornerRadius(0);