fix coding policy violations
This commit is contained in:
parent
c2a91caacf
commit
f7f8bf5418
|
@ -626,7 +626,8 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
|||
|
||||
try
|
||||
{
|
||||
if (pi == nullptr) {
|
||||
if( pi == nullptr )
|
||||
{
|
||||
// There was no plugin found, e.g. due to invalid file extension, file header,...
|
||||
THROW_IO_ERROR( _( "File format is not supported" ) );
|
||||
}
|
||||
|
|
|
@ -2089,7 +2089,8 @@ void ALTIUM_PCB::ConvertShapeBasedRegions6ToBoardItemOnLayer( const AREGION6& aE
|
|||
shape->SetLayer( aLayer );
|
||||
shape->SetStroke( STROKE_PARAMS( 0 ) );
|
||||
|
||||
if( IsCopperLayer( aLayer ) && aElem.net != ALTIUM_NET_UNCONNECTED ) {
|
||||
if( IsCopperLayer( aLayer ) && aElem.net != ALTIUM_NET_UNCONNECTED )
|
||||
{
|
||||
shape->SetNetCode( GetNetCode( aElem.net ) );
|
||||
}
|
||||
|
||||
|
@ -3434,7 +3435,8 @@ void ALTIUM_PCB::ConvertFills6ToBoardItemOnLayer( const AFILL6& aElem, PCB_LAYER
|
|||
fill->SetStart( aElem.pos1 );
|
||||
fill->SetEnd( aElem.pos2 );
|
||||
|
||||
if( IsCopperLayer( aLayer ) && aElem.net != ALTIUM_NET_UNCONNECTED ) {
|
||||
if( IsCopperLayer( aLayer ) && aElem.net != ALTIUM_NET_UNCONNECTED )
|
||||
{
|
||||
fill->SetNetCode( GetNetCode( aElem.net ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue