Corrected a problem caused by fixing the "select visible" command
with respect to visible/invisible labels and cells. The change inadvertently made the "select area" command option stop selecting labels on the same type as the layers being selected. This has been fixed.
This commit is contained in:
parent
1a16502a69
commit
d8580be739
|
|
@ -647,6 +647,9 @@ cmdSelectArea(
|
|||
if (!(crec->dbw_flags & DBW_SEELABELS)) TTMaskClearType(&mask, L_LABEL);
|
||||
if (!(crec->dbw_flags & DBW_SEECELLS)) TTMaskClearType(&mask, L_CELL);
|
||||
}
|
||||
else if (option == SEL_AREA)
|
||||
TTMaskSetType(&mask, L_LABEL);
|
||||
|
||||
SelectArea(&scx, &mask, crec->dbw_bitmask, globmatch);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -834,6 +834,8 @@ chunkdone:
|
|||
if (DBIsContact(type))
|
||||
TTMaskSetOnlyType(&typeMask, type);
|
||||
|
||||
/* Allow labels to be selected as part of the chunk */
|
||||
TTMaskSetType(&typeMask, L_LABEL);
|
||||
SelectArea(&newscx, &typeMask, xMask, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue