From fad589e151360076f6686f24291be757283d60b7 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Wed, 25 Jan 2023 10:03:39 -0500 Subject: [PATCH] Footprint preview: fix group assert --- 3d-viewer/dialogs/panel_preview_3d_model.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/3d-viewer/dialogs/panel_preview_3d_model.cpp b/3d-viewer/dialogs/panel_preview_3d_model.cpp index 4fdab6e453..4c1f8270a0 100644 --- a/3d-viewer/dialogs/panel_preview_3d_model.cpp +++ b/3d-viewer/dialogs/panel_preview_3d_model.cpp @@ -98,6 +98,7 @@ PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL( wxWindow* aParent, PCB_BASE_FRAM m_parentModelList = aParentModelList; m_dummyFootprint = new FOOTPRINT( *aFootprint ); + m_dummyFootprint->SetParentGroup( nullptr ); m_dummyBoard->Add( m_dummyFootprint ); // Create the 3D canvas