Fix broken schematic pin selection caused by commit 1ac5666164.

This commit is contained in:
Wayne Stambaugh 2024-02-10 08:26:52 -05:00
parent 2b295f85f5
commit ae9175927b
1 changed files with 4 additions and 2 deletions

View File

@ -416,8 +416,10 @@ const BOX2I SCH_PIN::GetBoundingBox( bool aIncludeInvisiblePins, bool aIncludeNa
BOX2I r;
if( m_libPin )
m_libPin->GetBoundingBox( aIncludeInvisiblePins, aIncludeNameAndNumber,
aIncludeElectricalType );
r = m_libPin->GetBoundingBox( aIncludeInvisiblePins, aIncludeNameAndNumber,
aIncludeElectricalType );
else
wxFAIL;
r.RevertYAxis();