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:
parent
fcc884332b
commit
4000dd758f
|
|
@ -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" */
|
||||
|
|
|
|||
Loading…
Reference in New Issue