Normalize SCH_PIN BBox to fix assert.

This commit is contained in:
Alex Shvartzkop 2024-02-19 12:30:33 +03:00 committed by dsa-t
parent a13e4e7d9f
commit 3e26e7b646
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;
}