Commit 40ee66f8 authored by Maciej Suminski's avatar Maciej Suminski

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

parent 19a87ac7
...@@ -390,6 +390,7 @@ void POINT_EDITOR::updateItem() const ...@@ -390,6 +390,7 @@ void POINT_EDITOR::updateItem() const
case PCB_ZONE_AREA_T: case PCB_ZONE_AREA_T:
{ {
ZONE_CONTAINER* zone = static_cast<ZONE_CONTAINER*>( item ); ZONE_CONTAINER* zone = static_cast<ZONE_CONTAINER*>( item );
zone->ClearFilledPolysList();
CPolyLine* outline = zone->Outline(); CPolyLine* outline = zone->Outline();
for( int i = 0; i < outline->GetCornersCount(); ++i ) for( int i = 0; i < outline->GetCornersCount(); ++i )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment