浏览代码

Fix getBounds with skins never synced

Tom Spira 1 年之前
父节点
当前提交
38a4f5aca0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      h3d/scene/Skin.hx

+ 1 - 0
h3d/scene/Skin.hx

@@ -8,6 +8,7 @@ class Joint extends Object {
 		super(null);
 		name = j.name;
 		this.skin = skin;
+		lastFrame = -1; // force first sync
 		// fake parent
 		this.parent = skin;
 		this.index = j.index;