altium: promote wxLogInfo -> wxLogWarning, otherwise it could be ommited
This commit is contained in:
parent
31fd3763d2
commit
110cefc86f
|
@ -905,7 +905,7 @@ void ALTIUM_PCB::HelperParseDimensions6Linear( const ADIMENSION6& aElem )
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( aElem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Dimension on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
aElem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -980,7 +980,7 @@ void ALTIUM_PCB::HelperParseDimensions6Leader( const ADIMENSION6& aElem )
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( aElem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Dimension on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
aElem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -1058,7 +1058,7 @@ void ALTIUM_PCB::HelperParseDimensions6Datum( const ADIMENSION6& aElem )
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( aElem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Dimension on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
aElem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -1081,7 +1081,7 @@ void ALTIUM_PCB::HelperParseDimensions6Center( const ADIMENSION6& aElem )
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( aElem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Dimension on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
aElem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -1129,14 +1129,14 @@ void ALTIUM_PCB::ParseDimensions6Data(
|
|||
HelperParseDimensions6Leader( elem );
|
||||
break;
|
||||
case ALTIUM_DIMENSION_KIND::DATUM:
|
||||
wxLogInfo( wxString::Format( "Ignore dimension object of kind %d", elem.kind ) );
|
||||
wxLogWarning( wxString::Format( "Ignore dimension object of kind %d", elem.kind ) );
|
||||
// HelperParseDimensions6Datum( elem );
|
||||
break;
|
||||
case ALTIUM_DIMENSION_KIND::CENTER:
|
||||
HelperParseDimensions6Center( elem );
|
||||
break;
|
||||
default:
|
||||
wxLogInfo( wxString::Format( "Ignore dimension object of kind %d", elem.kind ) );
|
||||
wxLogWarning( wxString::Format( "Ignore dimension object of kind %d", elem.kind ) );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1442,7 +1442,7 @@ void ALTIUM_PCB::ParseShapeBasedRegions6Data(
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( elem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Zone on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
elem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -1467,7 +1467,7 @@ void ALTIUM_PCB::ParseShapeBasedRegions6Data(
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( elem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Polygon on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
elem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -1582,7 +1582,7 @@ void ALTIUM_PCB::ParseArcs6Data(
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( elem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Arc on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
elem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -1895,7 +1895,7 @@ void ALTIUM_PCB::HelperParsePad6NonCopper( const APAD6& aElem )
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( aElem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Non-Copper Pad on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
aElem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -2151,7 +2151,7 @@ void ALTIUM_PCB::ParseTracks6Data(
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( elem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Track on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
elem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -2307,7 +2307,7 @@ void ALTIUM_PCB::ParseTexts6Data(
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( elem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Text on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
elem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
@ -2405,7 +2405,7 @@ void ALTIUM_PCB::ParseFills6Data(
|
|||
PCB_LAYER_ID klayer = GetKicadLayer( elem.layer );
|
||||
if( klayer == UNDEFINED_LAYER )
|
||||
{
|
||||
wxLogInfo( wxString::Format(
|
||||
wxLogWarning( wxString::Format(
|
||||
_( "Fill on Altium layer %d has no KiCad equivalent. Put it on Eco1_User instead" ),
|
||||
elem.layer ) );
|
||||
klayer = Eco1_User;
|
||||
|
|
Loading…
Reference in New Issue