Fix broken schematic pin selection caused by commit 1ac5666164
.
This commit is contained in:
parent
2b295f85f5
commit
ae9175927b
|
@ -416,8 +416,10 @@ const BOX2I SCH_PIN::GetBoundingBox( bool aIncludeInvisiblePins, bool aIncludeNa
|
||||||
BOX2I r;
|
BOX2I r;
|
||||||
|
|
||||||
if( m_libPin )
|
if( m_libPin )
|
||||||
m_libPin->GetBoundingBox( aIncludeInvisiblePins, aIncludeNameAndNumber,
|
r = m_libPin->GetBoundingBox( aIncludeInvisiblePins, aIncludeNameAndNumber,
|
||||||
aIncludeElectricalType );
|
aIncludeElectricalType );
|
||||||
|
else
|
||||||
|
wxFAIL;
|
||||||
|
|
||||||
r.RevertYAxis();
|
r.RevertYAxis();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue