Corrected an error in the dual CIF style (output & drc) method where
the output style is not set back to what it was before if there are no cif rules in the default DRC style.
This commit is contained in:
parent
7373d55c55
commit
b90166985d
|
|
@ -513,7 +513,7 @@ drcCifCheck(arg)
|
||||||
TxPrintf("Loading DRC CIF style.\n");
|
TxPrintf("Loading DRC CIF style.\n");
|
||||||
CIFCurStyle = NULL;
|
CIFCurStyle = NULL;
|
||||||
CIFLoadStyle(drcNeedStyle);
|
CIFLoadStyle(drcNeedStyle);
|
||||||
if (drcCifValid == FALSE)
|
if (drcCifValid != FALSE)
|
||||||
CIFCurStyle = CIFSaveStyle;
|
CIFCurStyle = CIFSaveStyle;
|
||||||
else
|
else
|
||||||
drcCifStyle = CIFCurStyle;
|
drcCifStyle = CIFCurStyle;
|
||||||
|
|
@ -525,7 +525,11 @@ drcCifCheck(arg)
|
||||||
}
|
}
|
||||||
CIFCurStyle = drcCifStyle;
|
CIFCurStyle = drcCifStyle;
|
||||||
}
|
}
|
||||||
if (drcCifValid == FALSE) return;
|
if (drcCifValid == FALSE)
|
||||||
|
{
|
||||||
|
CIFCurStyle = CIFSaveStyle;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
scale = drcCifStyle->cs_scaleFactor;
|
scale = drcCifStyle->cs_scaleFactor;
|
||||||
cifrect = *checkRect;
|
cifrect = *checkRect;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue