#306 remove gapfil from autospeed, as it will reduce the speed because of very tiny extrusions

also removed thinwalls, but it isn't problematic right now, just as it's not using it...
This commit is contained in:
supermerill 2020-06-21 22:46:30 +02:00
parent 94a4772549
commit 66847ebfa0

View File

@ -186,6 +186,7 @@ ExtrusionEntityCollection::min_mm3_per_mm() const
{
double min_mm3_per_mm = std::numeric_limits<double>::max();
for (const ExtrusionEntity *entity : this->entities)
if(entity->role() != erGapFill && entity->role() != erThinWall && entity->role() != erMilling)
min_mm3_per_mm = std::min(min_mm3_per_mm, entity->min_mm3_per_mm());
return min_mm3_per_mm;
}