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
031c46c887
commit
7978941fa8
|
@ -440,7 +440,8 @@ void EXPORTER_STEP::calculatePcbThickness()
|
|||
}
|
||||
}
|
||||
|
||||
m_boardThickness = pcbIUScale.IUTomm( thickness );
|
||||
if( thickness > 0 )
|
||||
m_boardThickness = pcbIUScale.IUTomm( thickness );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue