Altium sch import: put transparent colors on background too.
This commit is contained in:
parent
717f8d35e5
commit
946f6e978c
|
@ -202,7 +202,7 @@ static void SetLibShapeFillAndColor( const ASCH_FILL_INTERFACE& elem, LIB_SHAPE*
|
|||
|
||||
shape->SetFillMode( FILL_T::FILLED_SHAPE );
|
||||
}
|
||||
else if( bgcolor == default_bgcolor )
|
||||
else if( bgcolor.WithAlpha( 1.0 ) == default_bgcolor )
|
||||
shape->SetFillMode( FILL_T::FILLED_WITH_BG_BODYCOLOR );
|
||||
else
|
||||
shape->SetFillMode( FILL_T::FILLED_WITH_COLOR );
|
||||
|
|
Loading…
Reference in New Issue