diff --git a/pcbnew/zone.cpp b/pcbnew/zone.cpp index 6cd2b7dc46..ff733b8779 100644 --- a/pcbnew/zone.cpp +++ b/pcbnew/zone.cpp @@ -1107,7 +1107,6 @@ bool ZONE::BuildSmoothedPoly( SHAPE_POLY_SET& aSmoothedPoly, PCB_LAYER_ID aLayer auto smooth = [&]( SHAPE_POLY_SET& aPoly ) { - if( !smooth_requested ) return; diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index b9dbb62bcf..393a72e578 100644 --- a/pcbnew/zone_filler.cpp +++ b/pcbnew/zone_filler.cpp @@ -156,14 +156,6 @@ bool ZONE_FILLER::Fill( std::vector& aZones, bool aCheck, wxWindow* aPare static_cast( track )->ClearZoneConnectionCache(); } - // Sort by priority to reduce deferrals waiting on higher priority zones. - // - std::sort( aZones.begin(), aZones.end(), - []( const ZONE* lhs, const ZONE* rhs ) - { - return lhs->HigherPriority( rhs ); - } ); - for( ZONE* zone : aZones ) { // Rule areas are not filled