Fixed artefacts, made the new slowdown enabled with dynamic overhang speed at all times

This commit is contained in:
PavelMikus 2023-04-13 10:42:17 +02:00 committed by Pavel Mikuš
parent 798396d918
commit 3e3ccc200e
2 changed files with 19 additions and 20 deletions

View file

@ -491,7 +491,9 @@ void PrintObject::generate_support_material()
void PrintObject::estimate_curled_extrusions()
{
if (this->set_started(posEstimateCurledExtrusions)) {
if (this->print()->config().avoid_crossing_curled_overhangs) {
if (this->print()->config().avoid_crossing_curled_overhangs ||
std::any_of(this->print()->m_print_regions.begin(), this->print()->m_print_regions.end(),
[](const PrintRegion *region) { return region->config().enable_dynamic_overhang_speeds.getBool(); })) {
BOOST_LOG_TRIVIAL(debug) << "Estimating areas with curled extrusions - start";
m_print->set_status(88, _u8L("Estimating curled extrusions"));