mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-30 09:58:55 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user