From e0335e73cff7a9e47bbdb4c83808ed4ed35fe707 Mon Sep 17 00:00:00 2001 From: SoftFever <103989404+SoftFever@users.noreply.github.com> Date: Fri, 16 Dec 2022 21:39:52 +0800 Subject: [PATCH] fix an issue that thirdparty won't able to send print --- src/slic3r/GUI/MainFrame.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index cc601257f3..51d7667a13 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -1265,10 +1265,6 @@ bool MainFrame::can_send_gcode() const { if (m_plater && !m_plater->model().objects.empty()) { - // BBL printer presets - if (!wxGetApp().preset_bundle->printers.get_edited_preset().is_custom_defined()) - return false; - auto cfg = wxGetApp().preset_bundle->printers.get_edited_preset().config; if (const auto *print_host_opt = cfg.option("print_host"); print_host_opt) return !print_host_opt->value.empty();