Sfoglia il codice sorgente

Fix getBounds with skins never synced

Tom Spira 1 anno fa
parent
commit
38a4f5aca0
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;