DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
/**
     * Recalculate the influence of each bone.
     */
Recalculate the influence of each bone.
Recalculate the influence of each bone .
private void recalculateInfluence() {
        Skeleton skeleton = findSkeleton();
        if (skeleton == null) {
            Armature armature = findArmature();
            if (armature != null) {
                anyInfluenceBones = InfluenceUtil.addAllInfluencers(
                        rootSpatial, armature);
                armature.applyBindPose();
            }
        } else {
            anyInfluenceBones = InfluenceUtil.addAllInfluencers(rootSpatial,
                    skeleton);
        }
        int numBones = countBones();
        directInfluenceBones = new BitSet(numBones);
        InfluenceUtil.addDirectInfluencers(rootSpatial, directInfluenceBones);
    }
private void recalculateInfluence ( ) { Skeleton skeleton = findSkeleton ( ) ; if ( skeleton == null ) { Armature armature = findArmature ( ) ; if ( armature != null ) { anyInfluenceBones = InfluenceUtil . addAllInfluencers ( rootSpatial , armature ) ; armature . applyBindPose ( ) ; } } else { anyInfluenceBones = InfluenceUtil . addAllInfluencers ( rootSpatial , skeleton ) ; } int numBones = countBones ( ) ; directInfluenceBones = new BitSet ( numBones ) ; InfluenceUtil . addDirectInfluencers ( rootSpatial , directInfluenceBones ) ; }
Recalculate the influence of each bone.
Recalculate the influence of each bone .