Corrected an error in "def write" that starts output on the wrong

layer when the first part of the route is a contact (starts on the
via top instead of the via bottom).
This commit is contained in:
Tim Edwards 2022-11-08 09:59:43 -05:00
parent a9aafebfc4
commit 2059d6fbb1
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
8.3.336 8.3.337

View File

@ -1165,8 +1165,9 @@ defNetGeometryFunc(tile, plane, defdata)
{ {
if (TTMaskHasType(rMask, stype)) if (TTMaskHasType(rMask, stype))
{ {
if ((stype == defdata->type) || (defdata->tile == (Tile *)NULL)) if ((rtype == TT_SPACE) &&
rtype = stype; ((stype == defdata->type) || (defdata->tile == (Tile *)NULL)))
rtype = stype;
else else
r2type = stype; r2type = stype;
} }