Altium import
- Handle intermediate Altium version with some fields but not others - Ensure that we are properly moving text that is not a box and not a field
This commit is contained in:
parent
bf68b11ff9
commit
9aba808366
|
@ -933,7 +933,10 @@ AVIA6::AVIA6( ALTIUM_BINARY_PARSER& aReader )
|
||||||
{
|
{
|
||||||
diameter_by_layer[ii] = aReader.ReadKicadUnit();
|
diameter_by_layer[ii] = aReader.ReadKicadUnit();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if( subrecord1 > 209 )
|
||||||
|
{
|
||||||
aReader.Skip( 38 );
|
aReader.Skip( 38 );
|
||||||
soldermask_expansion_linked = aReader.Read<uint8_t>() & 0x01;
|
soldermask_expansion_linked = aReader.Read<uint8_t>() & 0x01;
|
||||||
soldermask_expansion_back = aReader.ReadKicadUnit();
|
soldermask_expansion_back = aReader.ReadKicadUnit();
|
||||||
|
|
|
@ -4245,7 +4245,7 @@ void ALTIUM_PCB::ConvertTexts6ToFootprintItemOnLayer( FOOTPRINT* aFootprint, con
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
field->SetPosition( aElem.position );
|
text->SetTextPos( aElem.position );
|
||||||
}
|
}
|
||||||
|
|
||||||
ConvertTexts6ToEdaTextSettings( aElem, *text );
|
ConvertTexts6ToEdaTextSettings( aElem, *text );
|
||||||
|
|
Loading…
Reference in New Issue