Assert for non-standard rotation during Eagle schematics import
This commit is contained in:
parent
deaa1d1477
commit
3298387f7b
|
@ -929,6 +929,9 @@ LIB_PIN* SCH_EAGLE_PLUGIN::loadPin( LIB_PART* aPart, wxXmlNode* aPin )
|
||||||
|
|
||||||
switch( roti )
|
switch( roti )
|
||||||
{
|
{
|
||||||
|
default:
|
||||||
|
wxASSERT_MSG( false, wxString::Format( "Unhandled orientation (%d degrees)", roti ) );
|
||||||
|
// fall through
|
||||||
case 0:
|
case 0:
|
||||||
pin->SetOrientation( 'R' );
|
pin->SetOrientation( 'R' );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue