A recent refactor replaced the use of the `totpoly` local variable where it shouldn't have. Pull Request: https://projects.blender.org/blender/blender/pulls/105838
A recent refactor replaced the use of the `totpoly` local variable where it shouldn't have. Pull Request: https://projects.blender.org/blender/blender/pulls/105838