Improvements in detection of the XL printer model.
This commit is contained in:
parent
9a0ae2cdc3
commit
f600ea2c5b
2 changed files with 2 additions and 2 deletions
|
@ -4685,7 +4685,7 @@ bool is_XL_printer(const DynamicPrintConfig &cfg)
|
|||
auto *printer_model = cfg.opt<ConfigOptionString>("printer_model");
|
||||
|
||||
if (printer_model)
|
||||
ret = boost::algorithm::contains(printer_model->value, ALIGN_ONLY_FOR);
|
||||
ret = boost::algorithm::starts_with(printer_model->value, ALIGN_ONLY_FOR);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -6983,7 +6983,7 @@ PlaterAfterLoadAutoArrange::PlaterAfterLoadAutoArrange()
|
|||
Plater* plater = wxGetApp().plater();
|
||||
m_enabled = plater->model().objects.empty() &&
|
||||
plater->printer_technology() == ptFFF &&
|
||||
plater->fff_print().config().printer_model.value == "XL";
|
||||
is_XL_printer(*plater->config());
|
||||
}
|
||||
|
||||
PlaterAfterLoadAutoArrange::~PlaterAfterLoadAutoArrange()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue