From 798cd567d57064b227f66d10efb22e8e4896566c Mon Sep 17 00:00:00 2001 From: Simon Schaak <9246423-sschaak@users.noreply.gitlab.com> Date: Tue, 26 Oct 2021 16:51:55 +0200 Subject: [PATCH] Use board stackup information when available --- 3d-viewer/dialogs/panel_preview_3d_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d-viewer/dialogs/panel_preview_3d_model.cpp b/3d-viewer/dialogs/panel_preview_3d_model.cpp index d513b8f6b2..926b8c22e2 100644 --- a/3d-viewer/dialogs/panel_preview_3d_model.cpp +++ b/3d-viewer/dialogs/panel_preview_3d_model.cpp @@ -134,7 +134,7 @@ PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL( wxWindow* aParent, PCB_BASE_FRAM // load initial board thickness value boardthickness->ChangeValue( formatBoardThicknessValue( - Iu2Millimeter( m_dummyBoard->GetDesignSettings().GetBoardThickness() ) ) ); + Iu2Millimeter( aFrame->GetDesignSettings().GetBoardThickness() ) ) ); #ifdef __WXOSX__ // Call layout once to get the proper button sizes after the bitmaps have been set