diff --git a/pcbnew/tools/drawing_stackup_table_tool.cpp b/pcbnew/tools/drawing_stackup_table_tool.cpp index fbf49f176f..53ffb72401 100644 --- a/pcbnew/tools/drawing_stackup_table_tool.cpp +++ b/pcbnew/tools/drawing_stackup_table_tool.cpp @@ -431,7 +431,9 @@ std::vector DRAWING_TOOL::DrawBoardCharacteristics( const wxPoint& t->SetText( StringFromValue( EDA_UNITS::UNSCALED, settings.GetCopperLayerCount(), false ) ); colData1.push_back( t ); - EDA_RECT size = m_frame->GetBoard()->ComputeBoundingBox( true ); + SHAPE_POLY_SET outline; + m_frame->GetBoard()->GetBoardPolygonOutlines( outline ); + BOX2I size = outline.BBox(); t = static_cast( dataStyle->Duplicate() ); t->SetText( _( "Board overall dimensions: " ) ); colLabel1.push_back( t );