Normalize SCH_PIN BBox to fix assert.

(cherry picked from commit 3e26e7b646)
This commit is contained in:
Alex Shvartzkop 2024-02-19 12:30:33 +03:00
parent 72354ac033
commit e5896374e3
1 changed files with 1 additions and 0 deletions

View File

@ -427,6 +427,7 @@ const BOX2I SCH_PIN::GetBoundingBox( bool aIncludeInvisiblePins, bool aIncludeNa
r = t.TransformCoordinate( r );
r.Offset( GetParentSymbol()->GetPosition() );
r.Normalize();
return r;
}