From 01c1ff47adabec65e33059dc020eae5d74a0f519 Mon Sep 17 00:00:00 2001
From: Jeff Young <jeff@rokeby.ie>
Date: Wed, 26 Mar 2025 14:49:38 +0000
Subject: [PATCH] Don't generate hatched fills for connectivity, etc.

(And in particular, don't regenerate them from
within the multi-threaded connectivity algo.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20451
---
 common/eda_shape.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/common/eda_shape.cpp b/common/eda_shape.cpp
index 54feb6c161..0acbd1fa67 100644
--- a/common/eda_shape.cpp
+++ b/common/eda_shape.cpp
@@ -1807,12 +1807,6 @@ std::vector<SHAPE*> EDA_SHAPE::makeEffectiveShapes( bool aEdgeOnly, bool aLineCh
         break;
     }
 
-    if( IsHatchedFill() )
-    {
-        for( int ii = 0; ii < GetHatching().OutlineCount(); ++ii )
-            effectiveShapes.emplace_back( new SHAPE_SIMPLE( GetHatching().COutline( ii ) ) );
-    }
-
     return effectiveShapes;
 }