fix a bug in zone filling with Kbool: https://lists.launchpad.net/kicad-developers/msg05100.html
This commit is contained in:
parent
940345e3e0
commit
772a1e0fd9
|
@ -204,8 +204,10 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
|
||||||
* Thermal shapes will be created later if necessary
|
* Thermal shapes will be created later if necessary
|
||||||
*/
|
*/
|
||||||
int item_clearance;
|
int item_clearance;
|
||||||
|
|
||||||
// static to avoid unnecessary memory allocation when filling many zones.
|
// static to avoid unnecessary memory allocation when filling many zones.
|
||||||
static std::vector <CPolyPt> cornerBufferPolysToSubstract;
|
static std::vector <CPolyPt> cornerBufferPolysToSubstract;
|
||||||
|
cornerBufferPolysToSubstract.clear();
|
||||||
|
|
||||||
D_PAD dummyPad( (MODULE*) NULL );
|
D_PAD dummyPad( (MODULE*) NULL );
|
||||||
D_PAD* nextpad;
|
D_PAD* nextpad;
|
||||||
|
|
Loading…
Reference in New Issue