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");
|
||||
CIFCurStyle = NULL;
|
||||
CIFLoadStyle(drcNeedStyle);
|
||||
if (drcCifValid == FALSE)
|
||||
if (drcCifValid != FALSE)
|
||||
CIFCurStyle = CIFSaveStyle;
|
||||
else
|
||||
drcCifStyle = CIFCurStyle;
|
||||
|
|
@ -525,7 +525,11 @@ drcCifCheck(arg)
|
|||
}
|
||||
CIFCurStyle = drcCifStyle;
|
||||
}
|
||||
if (drcCifValid == FALSE) return;
|
||||
if (drcCifValid == FALSE)
|
||||
{
|
||||
CIFCurStyle = CIFSaveStyle;
|
||||
return;
|
||||
}
|
||||
|
||||
scale = drcCifStyle->cs_scaleFactor;
|
||||
cifrect = *checkRect;
|
||||
|
|
|
|||
Loading…
Reference in New Issue