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:
parent
a13e4e7d9f
commit
3e26e7b646
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user