Added exceptions to avoid processing sticky labels in two other

places;  this cuts extraction time by half for the example being
used to test.
This commit is contained in:
Tim Edwards 2021-04-26 17:00:37 -04:00
parent 538d7201e1
commit 36f9bfb162
2 changed files with 3 additions and 1 deletions

View File

@ -259,6 +259,8 @@ extHierConnections(ha, cumFlat, oneFlat)
/* Look for sticky labels in the child cell that are not */
/* connected to any geometry. */
if (!(ExtOptions & EXT_DOLABELCHECK)) return;
for (lab = sourceDef->cd_labels; lab; lab = lab->lab_next)
{
CellDef *cumDef = cumFlat->et_use->cu_def;

View File

@ -245,7 +245,7 @@ ExtLabelRegions(def, connTo, nodeList, clipArea)
break;
}
}
if ((found == FALSE) && (nodeList != NULL))
if ((found == FALSE) && (nodeList != NULL) && (ExtOptions & EXT_DOLABELCHECK))
{
// Unconnected node label. This may be a "sticky label".
// If it is not connected to TT_SPACE, then create a new