router: fixed disappearing segments when dragging corners/vias

This commit is contained in:
Tomasz Wlostowski 2015-10-12 14:08:27 +02:00 committed by Maciej Suminski
parent 627f8cba4d
commit 0725575830
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ SHAPE_LINE_CHAIN dragCornerInternal( const SHAPE_LINE_CHAIN& aOrigin, const VECT
DIRECTION_45 dir( aOrigin.CPoint( -1 ) - aOrigin.CPoint( -2 ) );
return DIRECTION_45().BuildInitialTrace( aOrigin.CPoint( -1 ), aP, dir.IsDiagonal() );
return DIRECTION_45().BuildInitialTrace( aOrigin.CPoint( 0 ), aP, dir.IsDiagonal() );
}