Fix: Broken mesh to curve conversion #105838

Merged
Hans Goudey merged 1 commits from bonj/blender:fix/convert-mesh-to-curve into main 2023-03-18 03:49:48 +01:00

1 Commits

Author SHA1 Message Date
Jorijn de Graaf 2decc49def Use totpoly instead of polys.size()
These are not the same value, despite their similar names.
I think polys.size() gives you the number of polygons in the mesh.
While totpoly gives you the number of points in the spline, which is what we actually need.
2023-03-18 03:02:04 +01:00