This commit is contained in:
Yusarina
2024-12-14 01:10:24 +00:00
parent 1e0fe403aa
commit f4dc74d091
4 changed files with 720 additions and 226 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ class AvatarToolKit_OT_RemoveZeroWeightBones(Operator):
mesh_data: Mesh = mesh.data
for vertex in mesh_data.vertices:
for group in vertex.groups:
if group.weight > context.scene.avatar_toolkit.clean_weights_threshold:
if group.weight > context.scene.avatar_toolkit.merge_weights_threshold:
weighted_bones.append(mesh.vertex_groups[group.group].name)
# Process bone removal