Refill all zone/area after via placing
This commit is contained in:
1 parent
65296cb5e5
commit
3b72073e99
1 file changed
+7
@@ -379,6 +379,13 @@ class FillArea:
|
||||
self.AddModule(module,wxPoint(origin.x + (self.step * x) + ran_x,
|
||||
origin.y + (self.step * y) + ran_y),x,y)
|
||||
|
||||
for i in range(self.pcb.GetAreaCount()):
|
||||
area = self.pcb.GetArea(i)
|
||||
area.ClearFilledPolysList()
|
||||
area.UnFill()
|
||||
if not area.GetIsKeepout():
|
||||
area.BuildFilledSolidAreasPolygons(self.pcb)
|
||||
|
||||
if self.filename:
|
||||
self.pcb.Save(self.filename)
|
||||
self.CleanupFootprint()
|
||||
|
||||
Reference in new issue
Block a user