mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH: send print job through cloud only for P1P
Change-Id: Id89a0a60be91f415eb6d586ac11f70849c9cb01f Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
98b5e60c25
commit
4a580d37df
3 changed files with 3 additions and 0 deletions
|
@ -1373,6 +1373,7 @@ void MachineObject::parse_version_func()
|
||||||
}
|
}
|
||||||
} else if (printer_type == "C11") {
|
} else if (printer_type == "C11") {
|
||||||
local_use_ssl = true;
|
local_use_ssl = true;
|
||||||
|
is_cloud_print_only = true;
|
||||||
if (ota_version != module_vers.end()) {
|
if (ota_version != module_vers.end()) {
|
||||||
is_support_send_to_sdcard = ota_version->second.sw_ver.compare("01.02.00.00") >= 0;
|
is_support_send_to_sdcard = ota_version->second.sw_ver.compare("01.02.00.00") >= 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -640,6 +640,7 @@ public:
|
||||||
bool is_support_ai_monitoring {false};
|
bool is_support_ai_monitoring {false};
|
||||||
bool is_support_ams_humidity {true};
|
bool is_support_ams_humidity {true};
|
||||||
bool is_support_filament_edit_virtual_tray {true};
|
bool is_support_filament_edit_virtual_tray {true};
|
||||||
|
bool is_cloud_print_only {false};
|
||||||
|
|
||||||
/* sdcard */
|
/* sdcard */
|
||||||
MachineObject::SdcardState sdcard_state { NO_SDCARD };
|
MachineObject::SdcardState sdcard_state { NO_SDCARD };
|
||||||
|
|
|
@ -2187,6 +2187,7 @@ void SelectMachineDialog::on_ok()
|
||||||
m_print_job->m_access_code = obj_->get_access_code();
|
m_print_job->m_access_code = obj_->get_access_code();
|
||||||
m_print_job->m_local_use_ssl = obj_->local_use_ssl;
|
m_print_job->m_local_use_ssl = obj_->local_use_ssl;
|
||||||
m_print_job->connection_type = obj_->connection_type();
|
m_print_job->connection_type = obj_->connection_type();
|
||||||
|
m_print_job->cloud_print_only= obj_->is_cloud_print_only;
|
||||||
m_print_job->set_project_name(m_current_project_name.utf8_string());
|
m_print_job->set_project_name(m_current_project_name.utf8_string());
|
||||||
|
|
||||||
if (obj_->is_support_ams_mapping()) {
|
if (obj_->is_support_ams_mapping()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue