Corrected the return value of extSubsFunc2(), which was returning

value 1 after finding a substrate connecting type shielded (by deep
nwell, in the example) from the substrate, thus preventing the
search from processing any remaining substrate types.  Solved by
changing the return value to zero to keep the search going.
This commit is contained in:
Tim Edwards 2021-12-23 16:31:34 -05:00
parent 716848067e
commit 86f7c1f2cf
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
8.3.243
8.3.244

View File

@ -3835,7 +3835,8 @@ extSubsFunc2(tile, arg)
if (TTMaskIntersect(&DBPlaneTypes[pNum], smask))
if (DBSrPaintArea((Tile *) NULL, arg->fra_def->cd_planes[pNum],
&tileArea, smask, extSubsFunc3, (ClientData)NULL) != 0)
return (1);
/* Keep the search going, as there may be other tiles to check */
return (0);
/* Run third search in the area of the tile on the substrate plane */
/* to make sure that nothing but space is under these tiles. */