Merge pull request #82 from kuwoyuki/master

fix: pass aLayer arg to PAD.GetEffectivePolygon
This commit is contained in:
Jean-Samuel Reynaud authored and GitHub committed 2025-09-09 17:10:19 +02:00
commit aa36c04ba5
1 file changed
+1 -1
+1 -1
View File
@@ -696,7 +696,7 @@ STEP = '-'
m.SetViaType(VIATYPE_THROUGH)
m.SetDrill(int(self.drill))
m.SetWidth(int(self.size))
if pad.GetEffectivePolygon().Collide(m.GetEffectiveShape()):
if pad.GetEffectivePolygon(pad.GetLayer()).Collide(m.GetEffectiveShape()):
rectangle[x][y] = self.REASON_PAD
except: