Don't allow thickness of 0 in case of an empty stackup.
Fixes https://gitlab.com/kicad/code/kicad/issues/10790
This commit is contained in:
parent
6f0505f19c
commit
4e0f77c0f4
|
@ -326,6 +326,7 @@ void EXPORTER_STEP::determinePcbThickness()
|
|||
}
|
||||
}
|
||||
|
||||
if( thickness > 0 )
|
||||
m_boardThickness = pcbIUScale.IUTomm( thickness );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue