LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.81k stars 1.16k forks source link

fix tool parameter mismatch in StatMixin #3176

Open rmu75 opened 1 week ago

rmu75 commented 1 week ago

StatMixin is called with tool number instead of tool table index since refactoring in https://github.com/LinuxCNC/linuxcnc/commit/0ab84a6ab7aef8f14a396fdb2296631cb2fa888d, so we need to search for tool in tool table

rmu75 commented 1 week ago

fixes #3174

Sigma1912 commented 1 week ago

Works for me. Thanks for the fix.