Normalize SCH_PIN BBox to fix assert.
(cherry picked from commit 3e26e7b646
)
This commit is contained in:
parent
72354ac033
commit
e5896374e3
|
@ -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