ZONE_CONTAINERs are drawn as outlines while being edited using the POINT_EDITOR.

This commit is contained in:
Maciej Suminski 2014-03-14 16:05:30 +01:00
parent 19a87ac780
commit 40ee66f8c5
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ void POINT_EDITOR::updateItem() const
case PCB_ZONE_AREA_T:
{
ZONE_CONTAINER* zone = static_cast<ZONE_CONTAINER*>( item );
zone->ClearFilledPolysList();
CPolyLine* outline = zone->Outline();
for( int i = 0; i < outline->GetCornersCount(); ++i )