I want to know shortest_path_select algorithm.

hi there.

There is “bpy.ops.mesh.shortest_path_select(use_length=True)” in internal command of blender 3D.

But i want to make its command with one’s own hands.

So, I want to know shortest_path_select algorithm.

Please know to me its algorithm.

Thank you.

Here’s the main function:

https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/mesh/editmesh_path.c;b0ab91c0a4011f8e291aae7be2e03dffc5e2a6e6$515

I got it i need.
Thank you.