Fix errors when slicing A1 mini

This commit is contained in:
SoftFever 2023-10-29 12:16:16 +08:00
parent 363c256668
commit 7ff4005c22
3 changed files with 13 additions and 1 deletions

View file

@ -664,6 +664,9 @@ bool BackgroundSlicingProcess::empty() const
StringObjectException BackgroundSlicingProcess::validate(StringObjectException *warning, Polygons* collison_polygons, std::vector<std::pair<Polygon, float>>* height_polygons)
{
assert(m_print != nullptr);
assert(m_print == m_fff_print);
m_fff_print->is_BBL_printer() = wxGetApp().preset_bundle->is_bbl_vendor();
return m_print->validate(warning, collison_polygons, height_polygons);
}