Expand the board in the step export to an assembly always

This commit is contained in:
Marek Roszko 2021-09-11 00:27:48 -04:00
parent 9c78e4cf54
commit f42505b422
1 changed files with 4 additions and 1 deletions

View File

@ -854,7 +854,10 @@ bool PCBMODEL::CreatePCB()
// push the board to the data structure
ReportMessage( "\nGenerate board full shape.\n" );
m_pcb_label = m_assy->AddComponent( m_assy_label, board );
// Add board to the assembly "expanded", meaning the shape gets tacked into an assembly
// which will better match how all the other models end up being added
m_pcb_label = m_assy->AddComponent( m_assy_label, board, true );
if( m_pcb_label.IsNull() )
return false;