mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
fix an issue that thirdparty won't able to send print
This commit is contained in:
parent
45a00489ec
commit
e0335e73cf
1 changed files with 0 additions and 4 deletions
|
@ -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<ConfigOptionString>("print_host"); print_host_opt)
|
||||
return !print_host_opt->value.empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue