Added another fix from a pull request by Dan Moore, which apparently

fixes a problem with substrate nodes not being flagged as such when
reading .ext files.
This commit is contained in:
Tim Edwards 2020-10-14 22:53:03 -04:00
parent 9f49ad97da
commit 4bbe4ef74e
1 changed files with 6 additions and 0 deletions

View File

@ -167,6 +167,12 @@ efBuildNode(def, isSubsnode, nodeName, nodeCap, x, y, layerName, av, ac)
newnode->efnode_pa[n].pa_area += atoi(*av++);
newnode->efnode_pa[n].pa_perim += atoi(*av++);
}
/* If this node is identified as substrate, ensure that */
/* the flag is set. */
if (isSubsnode == TRUE)
newnode->efnode_flags |= EF_SUBS_NODE;
return;
}
}