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 d19f57b0d5
commit 9134289303
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 )