Properly count multiple Altium version settings
There is a fair amount of gradation in different Altium products Fixes https://gitlab.com/kicad/code/kicad/-/issues/18276
This commit is contained in:
parent
3725ae781d
commit
6aaaaad37f
|
@ -935,12 +935,15 @@ AVIA6::AVIA6( ALTIUM_BINARY_PARSER& aReader )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( subrecord1 > 209 )
|
if( subrecord1 >= 246 )
|
||||||
{
|
{
|
||||||
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();
|
||||||
|
}
|
||||||
|
|
||||||
|
if( subrecord1 >= 307 )
|
||||||
|
{
|
||||||
aReader.Skip( 45 );
|
aReader.Skip( 45 );
|
||||||
|
|
||||||
pos_tolerance = aReader.ReadKicadUnit();
|
pos_tolerance = aReader.ReadKicadUnit();
|
||||||
|
|
Loading…
Reference in New Issue