Footprint preview: fix group assert

This commit is contained in:
Mike Williams 2023-01-25 10:03:39 -05:00
parent 9954c18244
commit fad589e151
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL( wxWindow* aParent, PCB_BASE_FRAM
m_parentModelList = aParentModelList; m_parentModelList = aParentModelList;
m_dummyFootprint = new FOOTPRINT( *aFootprint ); m_dummyFootprint = new FOOTPRINT( *aFootprint );
m_dummyFootprint->SetParentGroup( nullptr );
m_dummyBoard->Add( m_dummyFootprint ); m_dummyBoard->Add( m_dummyFootprint );
// Create the 3D canvas // Create the 3D canvas