mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 10:51:22 +00:00
Remove porting jargon and provenance notes from comments
This commit is contained in:
@@ -523,7 +523,7 @@ void PrintJob::process(Ctl &ctl)
|
||||
BOOST_LOG_TRIVIAL(info) << "print_job: printer has enter printing status, s = " << obj->print_status;
|
||||
return true;
|
||||
}
|
||||
// Orca: break the wait-for-print-start loop on user cancel (resync).
|
||||
// Break the wait-for-print-start loop on user cancel.
|
||||
if (ctl.was_canceled()) {
|
||||
BOOST_LOG_TRIVIAL(info) << "print_job: user cancel the job " << obj->job_id_;
|
||||
return true;
|
||||
@@ -644,8 +644,8 @@ void PrintJob::process(Ctl &ctl)
|
||||
if (result < 0) {
|
||||
curr_percent = -1;
|
||||
|
||||
// Orca: restore the ENC-flag-not-ready message (resync). The printer is still fetching its
|
||||
// encryption flag (a transient state), so ask the user to retry rather than showing a generic error.
|
||||
// The printer is still fetching its encryption flag (a transient state), so ask the
|
||||
// user to retry rather than showing a generic error.
|
||||
if (result == BAMBU_NETOWRK_ERR_PRINT_SP_ENC_FLAG_NOT_READY) {
|
||||
msg_text = _u8L("Retrieving printer information, please try again later.");
|
||||
} else if (result == BAMBU_NETWORK_ERR_PRINT_WR_FILE_NOT_EXIST || result == BAMBU_NETWORK_ERR_PRINT_SP_FILE_NOT_EXIST) {
|
||||
|
||||
@@ -118,11 +118,9 @@ void SendJob::process(Ctl &ctl)
|
||||
ctl.call_on_main_thread([this] { prepare(); }).wait();
|
||||
ctl.update_status(0, msg);
|
||||
|
||||
// Orca: IP/access-code verification pass (resync), adapted to the Worker/Job model. In check mode
|
||||
// (InputIpAddressDialog / lan-mode send) verify the connection with a dummy "verify_job" upload and
|
||||
// fire the caller's success/fail callback; when not continuing, stop here. Non-check-mode (cloud)
|
||||
// sends skip this. Without it, set_check_mode()/check_and_continue() were dead and the IP-verify
|
||||
// dialog's callbacks (ReleaseNote InputIpAddressDialog / SendToPrinter lan-mode) could never fire.
|
||||
// In check mode (InputIpAddressDialog / lan-mode send) verify the connection with a dummy
|
||||
// "verify_job" upload and fire the caller's success/fail callback; when not continuing, stop
|
||||
// here. Cloud sends skip this.
|
||||
if (m_is_check_mode) {
|
||||
PrintParams verify_params;
|
||||
verify_params.dev_ip = m_dev_ip;
|
||||
|
||||
Reference in New Issue
Block a user