浏览代码

solve issue #1395 (Ogre importer set the initial pose)

Stephen Gold 4 年之前
父节点
当前提交
14823018e3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SkeletonLoader.java

+ 1 - 0
jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SkeletonLoader.java

@@ -164,6 +164,7 @@ public class SkeletonLoader extends DefaultHandler implements AssetLoader {
             indexToJoint.clear();
             armature = new Armature(joints);
             armature.saveBindPose();
+            armature.saveInitialPose();
         } else if (qName.equals("animation")) {
             animClips.add(animClip);
             animClip = null;