mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-22 20:55:16 +00:00
ENH:Modify the sending logic to ensure that in public network mode, the fallback route is FTP
jira:[none] Change-Id: I88c3f89960dfc9492e305f7cff0692590078f62c (cherry picked from commit fe5814e81f7d0248a101fada0b03ecb039bbb88b)
This commit is contained in:
@@ -880,10 +880,12 @@ void SendToPrinterDialog::on_ok(wxCommandEvent &event)
|
||||
file_name = default_output_file_path.filename().string();
|
||||
}*/
|
||||
|
||||
if ((!obj_->is_lan_mode_printer() && obj_->is_support_brtc) || m_tcp_try_connect) {
|
||||
if ( ( (!obj_->is_lan_mode_printer() && obj_->is_support_brtc) || m_tcp_try_connect) && (!m_ftp_try_connect) ) {
|
||||
update_print_status_msg(wxEmptyString, false, false);
|
||||
if (m_file_sys) {
|
||||
PrintPrepareData print_data;
|
||||
|
||||
|
||||
m_plater->get_print_job_data(&print_data);
|
||||
std::string project_name = m_current_project_name.utf8_string() + ".3mf";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user