Corrected an error in the DEF file read routine's check on via

DRC rules, which was conflating magic and CIF tile types,
resulting in incorrect reading of via layers.
This commit is contained in:
Tim Edwards
2018-07-19 10:23:30 -04:00
parent 1f961347e1
commit 193493a0cc
4 changed files with 14 additions and 2 deletions
+3
View File
@@ -1107,6 +1107,9 @@ CIFReadGetGrowSize(type)
for (i = 0; i < istyle->crs_nLayers; i++)
{
/* Don't confuse CIF types with magic types! */
if (istyle->crs_layers[i]->crl_flags & CIFR_TEMPLAYER) continue;
if (istyle->crs_layers[i]->crl_magicType == type)
{
dist = 0;