mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected the LEF read routine so that when LEF is read to annotate
an existing GDS file, the "LEFview" property is not set (i.e., it should not be marked as an abstract view because it is still a GDS view).
This commit is contained in:
+9
-1
@@ -1604,10 +1604,18 @@ origin_error:
|
||||
}
|
||||
}
|
||||
|
||||
/* Note: When the LEF view is used to annotate an */
|
||||
/* existing GDS view, then the view is not considered */
|
||||
/* "abstract"; otherwise, writing GDS output gets very */
|
||||
/* complicated and inefficient. */
|
||||
|
||||
/* Note: The value here is ignored, setting to "TRUE". */
|
||||
/* The "extract" command only cares that the key exists. */
|
||||
/* i.e., setting it to "FALSE" would be ineffective. */
|
||||
|
||||
if (!is_imported)
|
||||
DBPropPut(lefMacro, "LEFview", StrDup((char **)NULL, "TRUE"));
|
||||
|
||||
DBPropPut(lefMacro, "LEFview", StrDup((char **)NULL, "TRUE"));
|
||||
DBWAreaChanged(lefMacro, &lefMacro->cd_bbox, DBW_ALLWINDOWS,
|
||||
&DBAllButSpaceBits);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user