Corrected an error with the new "tagged" operator when used in

"cifinput";  instead of cifSrTiles(), which ignores the "area"
argument and searches over the entire plane, it should have been
using cifSrTiles2(), which translates the area to CIF coordinates
and searches only over that area.  Otherwise, everything on the
same layer in a cell gets tagged, rather than just connected
material.
This commit is contained in:
R. Timothy Edwards 2026-05-12 12:06:16 -04:00
parent eb83075e16
commit 85561d0503
1 changed files with 2 additions and 2 deletions

View File

@ -4117,7 +4117,7 @@ cifSrTiles(
* one or more times for the planes being used in processing
* where the CIF search should be conducted over "area" scaled
* to CIF units, rather than the entire plane. Currently used
* only for operator CIFOP_INTERACT.
* only for operators CIFOP_INTERACT and CIFOP_TAGGED.
*
* Results:
* Returns the value returned by the function.
@ -5681,7 +5681,7 @@ CIFGenLayer(
for (label = cellDef->cd_labels; label; label = label->lab_next)
if (!strcmp(label->lab_text, text))
cifSrTiles(op, &label->lab_rect, cellDef, temps,
cifSrTiles2(op, &label->lab_rect, cellDef, temps,
cifBloatAllFunc, (ClientData)&bls);
/* Reset marked tiles */