Create zones not working in legacy mode, bug created when fixing an other bug in commit 6a63d4

Fixes: lp:1699704
https://bugs.launchpad.net/kicad/+bug/1699704
This commit is contained in:
jean-pierre charras 2017-06-22 12:10:48 +02:00
parent 2c21c70f46
commit 4bdac4de70
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ int PCB_EDIT_FRAME::Begin_Zone( wxDC* DC )
// It is necessary to allow duplication of the points, as we have to handle the
// continuous drawing while creating the zone at the same time as we build it. Null
// segments are removed when the zone is finished, in End_Zone.
zone->AppendCorner( GetCrossHairPosition(), true );
zone->AppendCorner( GetCrossHairPosition(), -1, true );
SetCurItem( zone ); // calls DisplayInfo().