altium: fix segfault due to incorrect check

This commit is contained in:
Thomas Pointhuber 2020-04-06 17:45:02 +02:00 committed by Wayne Stambaugh
parent a433d9ea55
commit 13eb4d73da
1 changed files with 1 additions and 1 deletions

View File

@ -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(