Fix minor Fabmaster issue

This commit is contained in:
Seth Hillbrand 2021-02-13 16:32:39 -08:00
parent 838a70129d
commit 55db1aa5f5
1 changed files with 10 additions and 13 deletions

View File

@ -2525,8 +2525,6 @@ bool FABMASTER::loadZone( BOARD* aBoard, const std::unique_ptr<FABMASTER::TRACE>
}
}
if( zone && zone_outline )
{
if( zone_outline->Outline( 0 ).PointCount() >= 3 )
{
zone->SetOutline( zone_outline );
@ -2537,7 +2535,6 @@ bool FABMASTER::loadZone( BOARD* aBoard, const std::unique_ptr<FABMASTER::TRACE>
delete( zone_outline );
delete( zone );
}
}
return true;
}