Use board stackup information when available

This commit is contained in:
Simon Schaak 2021-10-26 16:51:55 +02:00 committed by Wayne Stambaugh
parent 589f1058ca
commit 798cd567d5
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL( wxWindow* aParent, PCB_BASE_FRAM
// load initial board thickness value // load initial board thickness value
boardthickness->ChangeValue( formatBoardThicknessValue( boardthickness->ChangeValue( formatBoardThicknessValue(
Iu2Millimeter( m_dummyBoard->GetDesignSettings().GetBoardThickness() ) ) ); Iu2Millimeter( aFrame->GetDesignSettings().GetBoardThickness() ) ) );
#ifdef __WXOSX__ #ifdef __WXOSX__
// Call layout once to get the proper button sizes after the bitmaps have been set // Call layout once to get the proper button sizes after the bitmaps have been set