when drc denies via insertion, bridge track not deleted
This commit is contained in:
parent
219cedf0fb
commit
10ece80b5a
|
@ -246,7 +246,16 @@ bool WinEDA_PcbFrame::Other_Layer_Route( TRACK* track, wxDC* DC )
|
|||
/* DRC fault: the Via cannot be placed here ... */
|
||||
delete Via;
|
||||
GetScreen()->m_Active_Layer = old_layer;
|
||||
|
||||
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
|
||||
|
||||
// delete the track(s) added in Begin_Route()
|
||||
while( g_TrackSegmentCount > itmp )
|
||||
{
|
||||
Delete_Segment( DC, g_CurrentTrackSegment );
|
||||
}
|
||||
SetCurItem( g_CurrentTrackSegment );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue