Add missing includes

And a build warning about unsued var
This commit is contained in:
John Beard
2026-02-14 18:34:49 +08:00
parent e73caa3b2c
commit b788e20ab8
4 changed files with 3 additions and 2 deletions
+1
View File
@@ -47,6 +47,7 @@
#include <pad_utils.h>
#include <pcb_shape.h>
#include <connectivity/connectivity_data.h>
#include <drc/drc_engine.h>
#include <eda_units.h>
#include <convert_basic_shapes_to_polygon.h>
#include <widgets/msgpanel.h>
+1
View File
@@ -37,6 +37,7 @@
#include <widgets/ui_common.h>
#include <pgm_base.h>
#include <drc/drc_item.h>
#include <drc/drc_rule.h>
#include <trigo.h>
#include <properties/property.h>
#include <properties/property_mgr.h>
+1
View File
@@ -38,6 +38,7 @@
#include <lset.h>
#include <pad.h>
#include <base_units.h>
#include <drc/drc_engine.h>
#include <geometry/shape_circle.h>
#include <geometry/shape_compound.h>
#include <geometry/point_types.h>
-2
View File
@@ -162,8 +162,6 @@ void PCB_TABLE::Normalize()
VECTOR2I localCell0Center( cell0Width / 2, cell0Height / 2 );
RotatePoint( localCell0Center, cellAngle );
VECTOR2I tableOrigin = stableCenter - localCell0Center;
if( cellAngle != ANGLE_0 )
{
for( PCB_TABLECELL* cell : m_cells )