Extended the code of the previous commit to include attaching

labels to geometry defined using either the "port" or "text"
options of the "label" statement in a cifinput section.
This commit is contained in:
Tim Edwards 2018-08-27 11:03:05 -04:00
parent 1345cc933c
commit 5c6bc5db34
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ calmaElementBoundary()
if (rp != NULL)
{
if ((ciftype >= 0) &&
((cifCurReadStyle->crs_labelSticky[ciftype] == LABEL_TYPE_PORT)))
((cifCurReadStyle->crs_labelSticky[ciftype] != LABEL_TYPE_NONE)))
{
Label *lab;
TileType type;