MinieLibrary/src/main/java/com/jme3/bullet/animation/DacLinks.java
/**
     * Validate the model's armature.
     */
Validate the model's armature.
Validate the model ' s armature .
private void validateArmature() {
        RagUtils.validate(armature);
        for (String jointName : listLinkedBoneNames()) {
            Joint joint = findArmatureJoint(jointName);
            if (joint == null) {
                String message = String.format(
                        "Linked bone %s not found in armature.",
                        MyString.quote(jointName));
                throw new IllegalArgumentException(message);
            }
            if (joint.getParent() == null) {
                logger3.log(Level.WARNING, "Linked bone {0} is a root joint.",
                        MyString.quote(jointName));
            }
        }
        for (String jointName : listAttachmentBoneNames()) {
            Joint joint = findArmatureJoint(jointName);
            if (joint == null) {
                String message = String.format(
                        "Attachment joint %s not found in armature.",
                        MyString.quote(jointName));
                throw new IllegalArgumentException(message);
            }
        }
    }
private void validateArmature ( ) { RagUtils . validate ( armature ) ; for ( String jointName : listLinkedBoneNames ( ) ) { Joint joint = findArmatureJoint ( jointName ) ; if ( joint == null ) { String message = String . format ( "Linked bone %s not found in armature." , MyString . quote ( jointName ) ) ; throw new IllegalArgumentException ( message ) ; } if ( joint . getParent ( ) == null ) { logger3 . log ( Level . WARNING , "Linked bone {0} is a root joint." , MyString . quote ( jointName ) ) ; } } for ( String jointName : listAttachmentBoneNames ( ) ) { Joint joint = findArmatureJoint ( jointName ) ; if ( joint == null ) { String message = String . format ( "Attachment joint %s not found in armature." , MyString . quote ( jointName ) ) ; throw new IllegalArgumentException ( message ) ; } } }
Validate the model's armature.
Validate the model ' s armature .