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 )
|
||||
{
|
||||
default:
|
||||
wxASSERT_MSG( false, wxString::Format( "Unhandled orientation (%d degrees)", roti ) );
|
||||
// fall through
|
||||
case 0:
|
||||
pin->SetOrientation( 'R' );
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue