From 0725575830d2b89904c8a30d8ebd201e3ebd39a4 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Mon, 12 Oct 2015 14:08:27 +0200 Subject: [PATCH] router: fixed disappearing segments when dragging corners/vias --- pcbnew/router/pns_line.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_line.cpp b/pcbnew/router/pns_line.cpp index 25a522dd53..39d5f5cd31 100644 --- a/pcbnew/router/pns_line.cpp +++ b/pcbnew/router/pns_line.cpp @@ -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() ); }