mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 22:02:10 +00:00
ENH: detect printer uses ssl for local connection
Change-Id: I6131bf5ed1f6d44f0bd761ad6bc3a492ba4945b7 (cherry picked from commit c68d48ecf290e5abd37a97654c5b1f7779f061e2)
This commit is contained in:
@@ -164,6 +164,7 @@ void PrintJob::process()
|
||||
|
||||
// local print access
|
||||
params.dev_ip = m_dev_ip;
|
||||
params.use_ssl = m_local_use_ssl;
|
||||
params.username = "bblp";
|
||||
params.password = m_access_code;
|
||||
wxString error_text;
|
||||
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
|
||||
std::string m_project_name;
|
||||
std::string m_dev_ip;
|
||||
bool m_local_use_ssl { true };
|
||||
std::string m_access_code;
|
||||
std::string task_bed_type;
|
||||
bool task_bed_leveling;
|
||||
|
||||
@@ -163,6 +163,7 @@ void SendJob::process()
|
||||
params.dev_ip = m_dev_ip;
|
||||
params.username = "bblp";
|
||||
params.password = m_access_code;
|
||||
params.use_ssl = m_local_use_ssl;
|
||||
wxString error_text;
|
||||
wxString msg_text;
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ public:
|
||||
std::string m_project_name;
|
||||
std::string m_dev_ip;
|
||||
std::string m_access_code;
|
||||
bool m_local_use_ssl{false};
|
||||
std::string task_bed_type;
|
||||
std::string task_ams_mapping;
|
||||
std::string connection_type;
|
||||
|
||||
Reference in New Issue
Block a user