mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 14:05:54 +08:00
fix an issue that thirdparty won't able to send print
This commit is contained in:
parent
45a00489ec
commit
e0335e73cf
@ -1265,10 +1265,6 @@ bool MainFrame::can_send_gcode() const
|
|||||||
{
|
{
|
||||||
if (m_plater && !m_plater->model().objects.empty())
|
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;
|
auto cfg = wxGetApp().preset_bundle->printers.get_edited_preset().config;
|
||||||
if (const auto *print_host_opt = cfg.option<ConfigOptionString>("print_host"); print_host_opt)
|
if (const auto *print_host_opt = cfg.option<ConfigOptionString>("print_host"); print_host_opt)
|
||||||
return !print_host_opt->value.empty();
|
return !print_host_opt->value.empty();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user