Pārlūkot izejas kodu

Fix getBounds with skins never synced

Tom Spira 1 gadu atpakaļ
vecāks
revīzija
38a4f5aca0
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;