From 5705859e9e064058db805bfa0b48c16a36b24812 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 5 Oct 2020 12:27:21 +0100 Subject: [PATCH] Remove accidental debug code. --- pcbnew/drc/drc_rtree.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pcbnew/drc/drc_rtree.h b/pcbnew/drc/drc_rtree.h index ce2b1b359d..7fb02a08de 100644 --- a/pcbnew/drc/drc_rtree.h +++ b/pcbnew/drc/drc_rtree.h @@ -100,10 +100,9 @@ public: for( auto subshape : subshapes ) { - BOX2I bbox = subshape->BBox(); - bbox.Inflate( Millimeter2iu( 20 ) ); - const int mmin[2] = { bbox.GetX(), bbox.GetY() }; - const int mmax[2] = { bbox.GetRight(), bbox.GetBottom() }; + BOX2I bbox = subshape->BBox(); + const int mmin[2] = { bbox.GetX(), bbox.GetY() }; + const int mmax[2] = { bbox.GetRight(), bbox.GetBottom() }; m_tree[layer]->Insert( mmin, mmax, new ITEM_WITH_SHAPE( aItem, subshape, itemShape ) ); m_count++;