mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: [STUDIO-2940] prefer use remote tunnel for liveview
Change-Id: I23708989e6d5ab38724e5da2cff2fe9d648bf730
This commit is contained in:
@@ -411,7 +411,7 @@ void MediaFilePanel::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
|
||||
return;
|
||||
}
|
||||
m_waiting_enable = false;
|
||||
if (m_local_support && !m_lan_ip.empty()) {
|
||||
if ((m_lan_mode || !m_remote_support) && m_local_support && !m_lan_ip.empty()) {
|
||||
std::string url = "bambu:///local/" + m_lan_ip + ".?port=6000&user=" + m_lan_user + "&passwd=" + m_lan_passwd;
|
||||
fs->SetUrl(url);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user