Ver Fonte

Fix getBounds with skins never synced

Tom Spira há 1 ano atrás
pai
commit
38a4f5aca0
1 ficheiros alterados com 1 adições e 0 exclusões
  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;