Remove unneeded distance calc

(cherry picked from commit 857683d372)
This commit is contained in:
Seth Hillbrand 2022-01-18 15:58:20 -08:00
parent 60fc75e239
commit 57afdf153d
1 changed files with 0 additions and 2 deletions

View File

@ -1503,8 +1503,6 @@ int SHAPE_LINE_CHAIN::PathLength( const VECTOR2I& aP, int aIndex ) const
for( int i = 0; i < SegmentCount(); i++ )
{
const SEG seg = CSegment( i );
int d = seg.Distance( aP );
bool indexMatch = true;
if( aIndex >= 0 )