mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 02:08:06 -05:00
Fix: route BBL-only NetworkAgent calls through the BBL cloud agent (#15908)
Since #13414 (v2.4.0), NetworkAgent calls default to the Orca cloud agent, whose Bambu-only methods are stubs that return empty data. These call sites didn't pass a provider, so firmware info, the MakerWorld task list, the cloud camera URL in Part Skip and Send to Printer, and the MakerWorld rating flow got empty data instead of calling the Bambu plugin. Pass get_printer_cloud_provider() at each one, as #13756, #14688 and #15911 did for the other call sites.
This commit is contained in:
1 parent
9b37da699b
commit
b8e9147107
6 files changed
+12
-12
No files matched your search
@@ -832,7 +832,7 @@ void WebViewPanel::SendDesignStaffpick(bool on)
|
||||
void WebViewPanel::OpenModelDetail(std::string id, NetworkAgent *agent)
|
||||
{
|
||||
std::string url;
|
||||
if ((agent ? agent->get_model_mall_detail_url(&url, id) : get_model_mall_detail_url(&url, id)) == 0)
|
||||
if ((agent ? agent->get_model_mall_detail_url(&url, id, wxGetApp().get_printer_cloud_provider()) : get_model_mall_detail_url(&url, id)) == 0)
|
||||
{
|
||||
if (url.find("?") != std::string::npos)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user