pcbnew: Tune length of a single track or Net Inspector counts the length incorrectly

Description

Tune length of a single track or Net Inspector counts the length incorrectly.

Steps to reproduce

Examples

  1. Tune length of a single track of the net MAC_TXD1

image

  1. Net Inspector of the net MAC_TXD1 image

  2. Tune length of a single track of the net MAC_TXD0 image

  3. Net Inspector of the net MAC_TXD0 image

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: (7.0.0-rc2-236-gb71fa91bc4), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.12.1
	HarfBuzz 5.0.1
	FontConfig 2.14.1
	libcurl/7.83.1-DEV Schannel zlib/1.2.13

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Feb  8 2023 06:17:42
	wxWidgets: 3.2.1 (wchar_t,wx containers)
	Boost: 1.80.0
	OCC: 7.6.2
	Curl: 7.83.1-DEV
	ngspice: 39
	Compiler: Visual C++ 1934 without C++ ABI

Build settings:
	KICAD_SPICE=ON
Edited by Dmitry Kuzmin