Acceptable Standards Added

This commit is contained in:
Yusarina
2025-02-08 11:03:22 +00:00
parent 017633696a
commit dd36ccaece
13 changed files with 147 additions and 53 deletions
+2 -3
View File
@@ -138,9 +138,8 @@ class ATOOLKIT_OT_preview_visemes(Operator):
armature = get_active_armature(context)
if not armature:
return False
valid, _ = validate_armature(armature)
valid, _, _ = validate_armature(armature)
return valid and mesh_obj and mesh_obj.type == 'MESH'
def execute(self, context: Context) -> Set[str]:
props = context.scene.avatar_toolkit
@@ -197,7 +196,7 @@ class ATOOLKIT_OT_create_visemes(Operator):
armature = get_active_armature(context)
if not armature:
return False
valid, _ = validate_armature(armature)
valid, _, _ = validate_armature(armature)
return valid and mesh_obj and mesh_obj.type == 'MESH'