Armature Validation P2

- Added Highlight Bone System in the 3D View, can be turned off in settings.
- Added more bones to the acceptable bone lists.
- Fixed issue with properties registrations and unregistration, the system is more rebust now.
- Added a validate t-pose system
- Added a detect bone scales system.
- Fixed some translation strings
- Armature validation now uses logger system.
This commit is contained in:
Yusarina
2025-03-24 02:12:03 +00:00
parent b946041ec1
commit c65bed3ff4
9 changed files with 731 additions and 103 deletions
+28
View File
@@ -50,6 +50,7 @@
"QuickAccess.validation_basic_details": "Only essential bone structure is being validated",
"QuickAccess.validation_none_warning": "Validation Disabled",
"QuickAccess.validation_none_details": "No armature validation checks are being performed",
"Quick_Access.import_success": "Import successful",
"PoseMode.error.start": "Failed to start pose mode: {error}",
"PoseMode.error.stop": "Failed to stop pose mode: {error}",
@@ -78,6 +79,30 @@
"Validation.message.failed.line1": "Armature validation has failed",
"Validation.message.failed.line2": "Please check below what the",
"Validation.message.failed.line3": "issues are",
"Validation.highlight_problem_bones_desc": "Visually highlight bones that have validation issues in the viewport",
"Validation.no_armature": "No armature selected",
"Validation.no_issues": "No validation issues found to highlight",
"Validation.highlighting_complete": "Problem bones highlighted successfully",
"Validation.tpose.no_armature": "No armature found for T-pose validation",
"Validation.tpose.left_arm_not_horizontal": "Left arm is not in a horizontal T-pose position",
"Validation.tpose.right_arm_not_horizontal": "Right arm is not in a horizontal T-pose position",
"Validation.tpose.spine_not_vertical": "Spine is not in a vertical position",
"Validation.tpose.warning": "T-Pose Validation Warning",
"Validation.tpose.recommendation": "We recommend fixing the T-pose before importing into Unity or other platforms",
"Validation.scale_issues": "Bones with abnormal scale detected:",
"Validation.scale_issue.too_small": "Bone is extremely small",
"Validation.scale_issue.too_large": "Bone is extremely large",
"Validation.section.scale_issues": "Scale Issues",
"Validation.tpose.label": "Validate T-Pose",
"Validation.no_scale_issues": "No scale issues detected",
"Validation.no_hierarchy_issues": "No hierarchy issues detected",
"Validation.no_non_standard_issues": "No non-standard bone issues detected",
"Validation.tpose.valid": "T-Pose validation passed successfully",
"Validation.tpose.desc": "Check if armature is in a proper T-pose",
"Validation.highlight_problem_bones": "Highlight Problem Bones",
"Validation.clear_bone_highlighting": "Clear Bone Highlighting",
"Validation.clear_bone_highlighting_desc": "Remove bone highlighting and reset bone colors to default",
"Validation.highlighting_cleared": "Bone highlighting cleared successfully",
"Mesh.validation.no_data": "No mesh data",
"Mesh.validation.no_vertex_groups": "No vertex groups found",
@@ -449,6 +474,9 @@
"Settings.enable_logging_desc": "Enable detailed debug logging for troubleshooting",
"Settings.logging_enabled": "Debug logging enabled",
"Settings.logging_disabled": "Debug logging disabled",
"Settings.highlight_problem_bones": "Highlight Problem Bones",
"Settings.highlight_problem_bones_desc": "Highlight bones with validation issues in the viewport",
"Settings.bone_highlighting": "Bone Highlighting",
"Language.auto": "Automatic",
"Language.en_US": "English",
"Language.ja_JP": "Japanese",