Changed the handling of GDS reads so that if the cifinput option
"ignore-unknown-layer-labels" is set, then error messages will not be displayed when labels in the GDS input are on unknown layers (this option is and has been otherwise handled correctly; the only issue is the generation of an error message on the output).
This commit is contained in:
parent
682a559455
commit
38c6ce3b07
|
|
@ -922,10 +922,11 @@ calmaElementText()
|
|||
}
|
||||
else if (type < 0)
|
||||
{
|
||||
CalmaReadError("Warning: label \"%s\" at (%d, %d) is on unhandled"
|
||||
" layer:purpose pair %d:%d and will be discarded.\n", textbody,
|
||||
r.r_ll.p_x * cifCurReadStyle->crs_scaleFactor,
|
||||
r.r_ll.p_y * cifCurReadStyle->crs_scaleFactor, layer, textt);
|
||||
if (!(cifCurReadStyle->crs_flags & CRF_IGNORE_UNKNOWNLAYER_LABELS))
|
||||
CalmaReadError("Warning: label \"%s\" at (%d, %d) is on unhandled"
|
||||
" layer:purpose pair %d:%d and will be discarded.\n", textbody,
|
||||
r.r_ll.p_x * cifCurReadStyle->crs_scaleFactor,
|
||||
r.r_ll.p_y * cifCurReadStyle->crs_scaleFactor, layer, textt);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue