altium: fix segfault due to incorrect check
This commit is contained in:
parent
a433d9ea55
commit
13eb4d73da
|
@ -1013,7 +1013,7 @@ void ALTIUM_PCB::ParsePolygons6Data(
|
|||
zone->SetZoneClearance( clearanceRule->planeclearanceClearance );
|
||||
}
|
||||
const ARULE6* polygonConnectRule = GetRuleDefault( ALTIUM_RULE_KIND::POLYGON_CONNECT );
|
||||
if( clearanceRule != nullptr )
|
||||
if( polygonConnectRule != nullptr )
|
||||
{
|
||||
// TODO: correct variables?
|
||||
zone->SetThermalReliefCopperBridge(
|
||||
|
|
Loading…
Reference in New Issue