Moved Armature Validation to it's own file

This commit is contained in:
Yusarina
2025-02-07 16:04:54 +00:00
parent 3eb0029b5e
commit 4b59147649
18 changed files with 109 additions and 100 deletions
+1 -1
View File
@@ -14,10 +14,10 @@ from ...core.translations import t
from ...core.common import (
get_active_armature,
get_all_meshes,
validate_armature,
clear_unused_data_blocks,
ProgressTracker
)
from ...core.armature_validation import validate_armature
def textures_match(tex1: ShaderNodeTexImage, tex2: ShaderNodeTexImage) -> bool:
"""Compare two texture nodes for matching properties and image data"""
+1 -1
View File
@@ -6,11 +6,11 @@ from ...core.translations import t
from ...core.common import (
get_active_armature,
get_all_meshes,
validate_armature,
validate_meshes,
join_mesh_objects,
ProgressTracker
)
from ...core.armature_validation import validate_armature
class AvatarToolkit_OT_JoinAllMeshes(Operator):
"""Operator to join all meshes in the scene"""
+1 -1
View File
@@ -7,8 +7,8 @@ from ...core.translations import t
from ...core.common import (
get_active_armature,
get_all_meshes,
validate_armature
)
from ...core.armature_validation import validate_armature
# Constants
MERGE_ITERATION_COUNT = 20