7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-19 00:21:36 +00:00

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

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;
}