mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
Made a correction to the command option "contact erase" which was
not properly handling stacked contacts, failing to erase a contact out of the middle of a stack.
This commit is contained in:
+2
-2
@@ -2292,8 +2292,8 @@ CmdContact(w, cmd)
|
||||
for (ctype = DBNumUserLayers; ctype < DBNumTypes; ctype++)
|
||||
{
|
||||
rmask = DBResidueMask(ctype);
|
||||
if (TTMaskHasType(rmask, ctype))
|
||||
TTMaskSetMask(&smask, rmask);
|
||||
if (TTMaskHasType(rmask, type))
|
||||
TTMaskSetType(&smask, ctype);
|
||||
}
|
||||
|
||||
/* Enumerate all tiles inside the box area containing contact "type" */
|
||||
|
||||
Reference in New Issue
Block a user