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:
parent
538d7201e1
commit
36f9bfb162
|
|
@ -259,6 +259,8 @@ extHierConnections(ha, cumFlat, oneFlat)
|
||||||
/* Look for sticky labels in the child cell that are not */
|
/* Look for sticky labels in the child cell that are not */
|
||||||
/* connected to any geometry. */
|
/* connected to any geometry. */
|
||||||
|
|
||||||
|
if (!(ExtOptions & EXT_DOLABELCHECK)) return;
|
||||||
|
|
||||||
for (lab = sourceDef->cd_labels; lab; lab = lab->lab_next)
|
for (lab = sourceDef->cd_labels; lab; lab = lab->lab_next)
|
||||||
{
|
{
|
||||||
CellDef *cumDef = cumFlat->et_use->cu_def;
|
CellDef *cumDef = cumFlat->et_use->cu_def;
|
||||||
|
|
|
||||||
|
|
@ -245,7 +245,7 @@ ExtLabelRegions(def, connTo, nodeList, clipArea)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((found == FALSE) && (nodeList != NULL))
|
if ((found == FALSE) && (nodeList != NULL) && (ExtOptions & EXT_DOLABELCHECK))
|
||||||
{
|
{
|
||||||
// Unconnected node label. This may be a "sticky label".
|
// Unconnected node label. This may be a "sticky label".
|
||||||
// If it is not connected to TT_SPACE, then create a new
|
// If it is not connected to TT_SPACE, then create a new
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue