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,7 +326,8 @@ void EXPORTER_STEP::determinePcbThickness()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_boardThickness = pcbIUScale.IUTomm( thickness );
|
if( thickness > 0 )
|
||||||
|
m_boardThickness = pcbIUScale.IUTomm( thickness );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue