mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-01 18:48:37 +02:00
Corrected an error in the global substrate name method added recently;
the extractor was not checking temp_subsname as well as glob_subsname, and so was failing to apply the substrate name to child cells in "merge" statements in the extract file, causing the substrate to get disconnected between parent and child.
This commit is contained in:
+1
-1
@@ -865,7 +865,7 @@ extNodeName(node)
|
||||
/* If the techfile specifies a global name for the substrate, use */
|
||||
/* that in preference to the default "p_x_y#" name. */
|
||||
|
||||
if ((NodeRegion *)node == glob_subsnode)
|
||||
if (((NodeRegion *)node == glob_subsnode) || ((NodeRegion *)node == temp_subsnode))
|
||||
{
|
||||
if (ExtCurStyle->exts_globSubstrateName != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user