Fix an issue with Skeleton deserializing

Fix issue #371
v3.2
Ali-RS 7 years ago committed by Stephen Gold
parent ba37746c44
commit a17f0ad73b
  1. 1
      jme3-core/src/main/java/com/jme3/animation/Skeleton.java

@ -304,6 +304,7 @@ public final class Skeleton implements Savable, JmeCloneable {
createSkinningMatrices(); createSkinningMatrices();
for (Bone rootBone : rootBones) { for (Bone rootBone : rootBones) {
rootBone.reset();
rootBone.update(); rootBone.update();
rootBone.setBindingPose(); rootBone.setBindingPose();
} }

Loading…
Cancel
Save