mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
+5
-4
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user