pns_line_placer: do not constraint the 45deg of current segment in free angle mode.

Fixes #8691
https://gitlab.com/kicad/code/kicad/issues/8691
This commit is contained in:
jean-pierre charras 2021-07-01 16:38:31 +02:00
parent 175b474c3e
commit 740b028180
1 changed files with 2 additions and 1 deletions

View File

@ -929,7 +929,8 @@ void LINE_PLACER::routeStep( const VECTOR2I& aP )
if( !routeHead( aP, new_head ) )
fail = true;
if( !new_head.Is45Degree() )
if( !new_head.Is45Degree() &&
!(Settings().GetFreeAngleMode() && Settings().Mode() == RM_MarkObstacles) )
fail = true;
if( fail )